org.eclipse.xtext.generator
Class AbstractInheritingGeneratorFragment
java.lang.Object
org.eclipse.xtext.generator.DefaultGeneratorFragment
org.eclipse.xtext.generator.AbstractGeneratorFragment
org.eclipse.xtext.generator.AbstractInheritingGeneratorFragment
- All Implemented Interfaces:
- IGeneratorFragment, NamingAware
- Direct Known Subclasses:
- AbstractScopingFragment, JavaValidatorFragment
public class AbstractInheritingGeneratorFragment
- extends AbstractGeneratorFragment
A generator fragment that generates code which inherits form the generated code
of the super language.
- Author:
- Jan Koehnlein - Initial contribution and API
Methods inherited from class org.eclipse.xtext.generator.AbstractGeneratorFragment |
addToPluginXmlRt, addToPluginXmlTests, addToPluginXmlUi, addToStandaloneSetup, generate, getExportedPackagesRt, getExportedPackagesUi, getGuiceBindingsRt, getGuiceBindingsUi, getNaming, getParameters, getRequiredBundlesRt, getRequiredBundlesUi, getTemplate, registerNaming |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractInheritingGeneratorFragment
public AbstractInheritingGeneratorFragment()
isInheritImplementation
public boolean isInheritImplementation()
setInheritImplementation
public void setInheritImplementation(boolean isInheritImplementation)
getSuperClassName
public java.lang.String getSuperClassName(java.lang.String superClassName,
java.lang.String defaultName)
isClassExists
protected boolean isClassExists(java.lang.String className)
getSuperGrammar
protected Grammar getSuperGrammar(Grammar grammar)