Class ImportExtension
- java.lang.Object
-
- org.emftext.language.java.extensions.imports.ImportExtension
-
public class ImportExtension extends Object
-
-
Constructor Summary
Constructors Constructor Description ImportExtension()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConcreteClassifier
getImportedClassifier(Import me, String name)
Returns the classifier with the given name located in the namespace defined by the import.static EList<ConcreteClassifier>
getImportedClassifiers(Import me)
Returns a list of imported classifiers assuming the import's namespace identifies a package.
-
-
-
Method Detail
-
getImportedClassifier
public static ConcreteClassifier getImportedClassifier(Import me, String name)
Returns the classifier with the given name located in the namespace defined by the import.- Parameters:
name
- the name of the classifier- Returns:
- imported classifier (proxy)
-
getImportedClassifiers
public static EList<ConcreteClassifier> getImportedClassifiers(Import me)
Returns a list of imported classifiers assuming the import's namespace identifies a package.- Parameters:
_this
-- Returns:
- imported classifier (proxy)
-
-