Class ImportExtension
java.lang.Object
org.emftext.language.java.extensions.imports.ImportExtension
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConcreteClassifier
getImportedClassifier
(Import me, String name) Returns the classifier with the given name located in the namespace defined by the import.static EList<ConcreteClassifier>
Returns a list of imported classifiers assuming the import's namespace identifies a package.static EList<NamedElement>
Returns all imported members assuming the import's namespace identifies a classifier.
-
Constructor Details
-
ImportExtension
public ImportExtension()
-
-
Method Details
-
getImportedClassifier
Returns the classifier with the given name located in the namespace defined by the import.- Parameters:
me
- the import.name
- the name of the classifier- Returns:
- imported classifier (proxy)
-
getImportedMembers
Returns all imported members assuming the import's namespace identifies a classifier.- Parameters:
me
- the import.- Returns:
- list of imported classifiers (proxies)
-
getImportedClassifiers
Returns a list of imported classifiers assuming the import's namespace identifies a package.- Parameters:
me
- the import.- Returns:
- imported classifier (proxy)
-