Package org.eclipse.gmt.modisco.java
Interface ImportDeclaration
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ImportDeclarationImpl
public interface ImportDeclaration extends ASTNode
A representation of the model object 'Import Declaration'.
The following features are supported:
- See Also:
JavaPackage.getImportDeclaration()
-
Method Summary
Modifier and Type Method Description NamedElementgetImportedElement()Returns the value of the 'Imported Element' reference.booleanisStatic()Returns the value of the 'Static' attribute.voidsetImportedElement(NamedElement value)Sets the value of the 'Imported Element' reference.voidsetStatic(boolean value)Sets the value of the 'Static' attribute.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
isStatic
boolean isStatic()Returns the value of the 'Static' attribute.- Returns:
- the value of the 'Static' attribute.
- See Also:
setStatic(boolean),JavaPackage.getImportDeclaration_Static()
-
setStatic
void setStatic(boolean value)Sets the value of the 'Static' attribute.- Parameters:
value- the new value of the 'Static' attribute.- See Also:
isStatic()
-
getImportedElement
NamedElement getImportedElement()Returns the value of the 'Imported Element' reference. It is bidirectional and its opposite is 'Usages In Imports'.- Returns:
- the value of the 'Imported Element' reference.
- See Also:
setImportedElement(NamedElement),JavaPackage.getImportDeclaration_ImportedElement(),NamedElement.getUsagesInImports()
-
setImportedElement
Sets the value of the 'Imported Element' reference.- Parameters:
value- the new value of the 'Imported Element' reference.- See Also:
getImportedElement()
-