Class ClassifierExtension

java.lang.Object
org.emftext.language.java.extensions.classifiers.ClassifierExtension

public class ClassifierExtension extends Object
  • Constructor Details

    • ClassifierExtension

      public ClassifierExtension()
  • Method Details

    • getAllSuperClassifiers

      public static EList<ConcreteClassifier> getAllSuperClassifiers(Classifier me)
    • addImport

      public static void addImport(Classifier me, String nameOfClassToImport)
      Adds an import of the given class to the compilation unit that contains this classifier.
      Parameters:
      me - the given class.
      nameOfClassToImport - name to the class to import.
    • addPackageImport

      public static void addPackageImport(Classifier me, String packageName)
      Adds an import of the given package to the compilation unit that contains this classifier.
      Parameters:
      me - the given classifier.
      packageName - the name of the imported package.