public class Formatter2Fragment2 extends AbstractStubGeneratingFragment
Constructor and Description |
---|
Formatter2Fragment2() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGenerateStubFile() |
void |
generate() |
protected StringConcatenationClient |
generateFormatMethod(org.eclipse.emf.ecore.EClass clazz,
java.util.Collection<org.eclipse.emf.ecore.EReference> containmentRefs,
boolean isOverriding) |
protected TypeReference |
getFormatter2Stub(Grammar grammar) |
protected java.lang.String |
getGetAccessor(org.eclipse.emf.ecore.EStructuralFeature feature) |
protected void |
getInheritedContainmentReferences(Grammar grammar,
com.google.common.collect.Multimap<org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EReference> type2ref,
java.util.Set<Grammar> visitedGrammars) |
protected void |
getLocallyAssignedContainmentReferences(Grammar grammar,
com.google.common.collect.Multimap<org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EReference> type2ref) |
protected TypeReference |
getStubSuperClass() |
protected java.lang.String |
toVarName(org.eclipse.emf.ecore.ENamedElement element) |
getGenerateStub, isGenerateStub, isGenerateXtendStub, setGenerateStub, setGenerateXtendStub
checkConfiguration, getGrammar, getLanguage, getProjectConfig, initialize
protected TypeReference getFormatter2Stub(Grammar grammar)
public void generate()
protected void doGenerateStubFile()
protected StringConcatenationClient generateFormatMethod(org.eclipse.emf.ecore.EClass clazz, java.util.Collection<org.eclipse.emf.ecore.EReference> containmentRefs, boolean isOverriding)
protected void getLocallyAssignedContainmentReferences(Grammar grammar, com.google.common.collect.Multimap<org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EReference> type2ref)
protected void getInheritedContainmentReferences(Grammar grammar, com.google.common.collect.Multimap<org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EReference> type2ref, java.util.Set<Grammar> visitedGrammars)
protected TypeReference getStubSuperClass()
protected java.lang.String toVarName(org.eclipse.emf.ecore.ENamedElement element)
protected java.lang.String getGetAccessor(org.eclipse.emf.ecore.EStructuralFeature feature)