Class Formatter2Fragment2

    • Constructor Detail

      • Formatter2Fragment2

        public Formatter2Fragment2()
    • Method Detail

      • getFormatter2Stub

        protected TypeReference getFormatter2Stub​(org.eclipse.xtext.Grammar grammar)
      • generate

        public void generate()
      • doGenerateStubFile

        protected void doGenerateStubFile()
      • generateFormatMethod

        protected org.eclipse.xtend2.lib.StringConcatenationClient generateFormatMethod​(org.eclipse.emf.ecore.EClass clazz,
                                                                                        java.util.Collection<org.eclipse.emf.ecore.EReference> containmentRefs,
                                                                                        boolean isOverriding)
      • generateJavaFormatMethod

        protected org.eclipse.xtend2.lib.StringConcatenationClient generateJavaFormatMethod​(org.eclipse.emf.ecore.EClass clazz,
                                                                                            java.util.Collection<org.eclipse.emf.ecore.EReference> containmentRefs,
                                                                                            boolean isOverriding)
      • getLocallyAssignedContainmentReferences

        protected void getLocallyAssignedContainmentReferences​(org.eclipse.xtext.Grammar grammar,
                                                               com.google.common.collect.Multimap<org.eclipse.emf.ecore.EClass,​org.eclipse.emf.ecore.EReference> type2ref)
      • getInheritedContainmentReferences

        protected void getInheritedContainmentReferences​(org.eclipse.xtext.Grammar grammar,
                                                         com.google.common.collect.Multimap<org.eclipse.emf.ecore.EClass,​org.eclipse.emf.ecore.EReference> type2ref,
                                                         java.util.Set<org.eclipse.xtext.Grammar> visitedGrammars)
      • getStubSuperClass

        protected TypeReference getStubSuperClass()
      • toVarName

        protected java.lang.String toVarName​(org.eclipse.emf.ecore.ENamedElement element,
                                             java.lang.String... reservedNames)
      • getGetAccessor

        protected java.lang.String getGetAccessor​(org.eclipse.emf.ecore.EStructuralFeature feature)
      • getGetAccessorType

        protected java.lang.String getGetAccessorType​(org.eclipse.emf.ecore.EStructuralFeature feature)