Package org.eclipse.gmt.modisco.java
Interface EnumDeclaration
- All Superinterfaces:
AbstractTypeDeclaration,ASTNode,BodyDeclaration,org.eclipse.emf.ecore.EObject,NamedElement,org.eclipse.emf.common.notify.Notifier,Type
- All Known Subinterfaces:
UnresolvedEnumDeclaration
- All Known Implementing Classes:
EnumDeclarationImpl,UnresolvedEnumDeclarationImpl
public interface EnumDeclaration extends AbstractTypeDeclaration
A representation of the model object 'Enum Declaration'.
The following features are supported:
- See Also:
JavaPackage.getEnumDeclaration()
-
Method Summary
Modifier and Type Method Description org.eclipse.emf.common.util.EList<EnumConstantDeclaration>getEnumConstants()Returns the value of the 'Enum Constants' containment reference list.Methods inherited from interface org.eclipse.gmt.modisco.java.AbstractTypeDeclaration
getBodyDeclarations, getCommentsAfterBody, getCommentsBeforeBody, getPackage, getSuperInterfaces, setPackageMethods 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.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 org.eclipse.gmt.modisco.java.Type
getUsagesInTypeAccess
-
Method Details
-
getEnumConstants
org.eclipse.emf.common.util.EList<EnumConstantDeclaration> getEnumConstants()Returns the value of the 'Enum Constants' containment reference list. The list contents are of typeEnumConstantDeclaration.- Returns:
- the value of the 'Enum Constants' containment reference list.
- See Also:
JavaPackage.getEnumDeclaration_EnumConstants()
-