Class ClassifierExtension


  • public class ClassifierExtension
    extends Object
    • Constructor Detail

      • ClassifierExtension

        public ClassifierExtension()
    • Method Detail

      • addImport

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

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