Package org.eclipse.gmt.modisco.java
Interface AbstractTypeDeclaration
- All Superinterfaces:
ASTNode,BodyDeclaration,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,Iterable<fr.inria.atlanmod.neoemf.core.PersistentEObject>,NamedElement,org.eclipse.emf.common.notify.Notifier,fr.inria.atlanmod.neoemf.core.PersistentEObject,fr.inria.atlanmod.neoemf.data.store.Storable,Type
- All Known Subinterfaces:
AnnotationTypeDeclaration,ClassDeclaration,EnumDeclaration,InterfaceDeclaration,TypeDeclaration,UnresolvedAnnotationDeclaration,UnresolvedClassDeclaration,UnresolvedEnumDeclaration,UnresolvedInterfaceDeclaration,UnresolvedTypeDeclaration
- All Known Implementing Classes:
AbstractTypeDeclarationImpl,AnnotationTypeDeclarationImpl,ClassDeclarationImpl,EnumDeclarationImpl,InterfaceDeclarationImpl,TypeDeclarationImpl,UnresolvedAnnotationDeclarationImpl,UnresolvedClassDeclarationImpl,UnresolvedEnumDeclarationImpl,UnresolvedInterfaceDeclarationImpl,UnresolvedTypeDeclarationImpl
public interface AbstractTypeDeclaration extends BodyDeclaration, Type
A representation of the model object 'Abstract Type Declaration'.
The following features are supported:
- See Also:
JavaPackage.getAbstractTypeDeclaration()
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
Field Summary
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<BodyDeclaration>getBodyDeclarations()Returns the value of the 'Body Declarations' containment reference list.org.eclipse.emf.common.util.EList<Comment>getCommentsAfterBody()Returns the value of the 'Comments After Body' containment reference list.org.eclipse.emf.common.util.EList<Comment>getCommentsBeforeBody()Returns the value of the 'Comments Before Body' containment reference list.PackagegetPackage()Returns the value of the 'Package' container reference.org.eclipse.emf.common.util.EList<TypeAccess>getSuperInterfaces()Returns the value of the 'Super Interfaces' containment reference list.voidsetPackage(Package value)Sets the value of the 'Package' container reference.Methods inherited from interface org.eclipse.gmt.modisco.java.ASTNode
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitMethods inherited from interface org.eclipse.gmt.modisco.java.BodyDeclaration
getAbstractTypeDeclaration, getAnnotations, getAnonymousClassDeclarationOwner, getModifier, setAbstractTypeDeclaration, setAnonymousClassDeclarationOwner, setModifierMethods 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.ecore.InternalEObject
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSet, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegmentMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.eclipse.gmt.modisco.java.NamedElement
getName, getUsagesInImports, isProxy, setName, setProxyMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface fr.inria.atlanmod.neoemf.core.PersistentEObject
eInternalContainer, id, id, iterator, resource, resourceMethods inherited from interface fr.inria.atlanmod.neoemf.data.store.Storable
eStoreMethods inherited from interface org.eclipse.gmt.modisco.java.Type
getUsagesInTypeAccess
-
Method Details
-
getBodyDeclarations
org.eclipse.emf.common.util.EList<BodyDeclaration> getBodyDeclarations()Returns the value of the 'Body Declarations' containment reference list. The list contents are of typeBodyDeclaration. It is bidirectional and its opposite is 'Abstract Type Declaration'.- Returns:
- the value of the 'Body Declarations' containment reference list.
- See Also:
JavaPackage.getAbstractTypeDeclaration_BodyDeclarations(),BodyDeclaration.getAbstractTypeDeclaration()
-
getCommentsBeforeBody
org.eclipse.emf.common.util.EList<Comment> getCommentsBeforeBody()Returns the value of the 'Comments Before Body' containment reference list. The list contents are of typeComment.- Returns:
- the value of the 'Comments Before Body' containment reference list.
- See Also:
JavaPackage.getAbstractTypeDeclaration_CommentsBeforeBody()
-
getCommentsAfterBody
org.eclipse.emf.common.util.EList<Comment> getCommentsAfterBody()Returns the value of the 'Comments After Body' containment reference list. The list contents are of typeComment.- Returns:
- the value of the 'Comments After Body' containment reference list.
- See Also:
JavaPackage.getAbstractTypeDeclaration_CommentsAfterBody()
-
getPackage
Package getPackage()Returns the value of the 'Package' container reference. It is bidirectional and its opposite is 'Owned Elements'.- Returns:
- the value of the 'Package' container reference.
- See Also:
setPackage(org.eclipse.gmt.modisco.java.Package),JavaPackage.getAbstractTypeDeclaration_Package(),Package.getOwnedElements()
-
setPackage
Sets the value of the 'Package' container reference.- Parameters:
value- the new value of the 'Package' container reference.- See Also:
getPackage()
-
getSuperInterfaces
org.eclipse.emf.common.util.EList<TypeAccess> getSuperInterfaces()Returns the value of the 'Super Interfaces' containment reference list. The list contents are of typeTypeAccess.- Returns:
- the value of the 'Super Interfaces' containment reference list.
- See Also:
JavaPackage.getAbstractTypeDeclaration_SuperInterfaces()
-