Class ClassifierExtension
java.lang.Object
org.emftext.language.java.extensions.classifiers.ClassifierExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addImport
(Classifier me, String nameOfClassToImport) Adds an import of the given class to the compilation unit that contains this classifier.static void
addPackageImport
(Classifier me, String packageName) Adds an import of the given package to the compilation unit that contains this classifier.static EList<ConcreteClassifier>
-
Constructor Details
-
ClassifierExtension
public ClassifierExtension()
-
-
Method Details
-
getAllSuperClassifiers
-
addImport
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
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.
-