Class GeneratorModelHelper


  • public class GeneratorModelHelper
    extends java.lang.Object
    A helper class for operations over EMF Generator models
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String resolveTypeReference​(org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage, org.eclipse.emf.ecore.EClassifier classifier)
      Resolves the Variable using information from the GenPackage.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • resolveTypeReference

        public static java.lang.String resolveTypeReference​(org.eclipse.emf.codegen.ecore.genmodel.GenPackage genPackage,
                                                            org.eclipse.emf.ecore.EClassifier classifier)
        Resolves the Variable using information from the GenPackage. Tries to find an appropriate GenClass for the EClassifier. If one is found, then returns a JvmTypeReference for it's qualified interface name.