Package org.eclipse.gmt.modisco.java
Interface EnumConstantDeclaration
- All Superinterfaces:
ASTNode,BodyDeclaration,org.eclipse.emf.ecore.EObject,NamedElement,org.eclipse.emf.common.notify.Notifier,VariableDeclaration
- All Known Implementing Classes:
EnumConstantDeclarationImpl
public interface EnumConstantDeclaration extends BodyDeclaration, VariableDeclaration
A representation of the model object 'Enum Constant Declaration'.
The following features are supported:
- See Also:
JavaPackage.getEnumConstantDeclaration()
-
Method Summary
Modifier and Type Method Description AnonymousClassDeclarationgetAnonymousClassDeclaration()Returns the value of the 'Anonymous Class Declaration' containment reference.org.eclipse.emf.common.util.EList<Expression>getArguments()Returns the value of the 'Arguments' containment reference list.voidsetAnonymousClassDeclaration(AnonymousClassDeclaration value)Sets the value of the 'Anonymous Class Declaration' containment 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.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.VariableDeclaration
getExtraArrayDimensions, getInitializer, getUsageInVariableAccess, setExtraArrayDimensions, setInitializer
-
Method Details
-
getAnonymousClassDeclaration
AnonymousClassDeclaration getAnonymousClassDeclaration()Returns the value of the 'Anonymous Class Declaration' containment reference.- Returns:
- the value of the 'Anonymous Class Declaration' containment reference.
- See Also:
setAnonymousClassDeclaration(AnonymousClassDeclaration),JavaPackage.getEnumConstantDeclaration_AnonymousClassDeclaration()
-
setAnonymousClassDeclaration
Sets the value of the 'Anonymous Class Declaration' containment reference.- Parameters:
value- the new value of the 'Anonymous Class Declaration' containment reference.- See Also:
getAnonymousClassDeclaration()
-
getArguments
org.eclipse.emf.common.util.EList<Expression> getArguments()Returns the value of the 'Arguments' containment reference list. The list contents are of typeExpression.- Returns:
- the value of the 'Arguments' containment reference list.
- See Also:
JavaPackage.getEnumConstantDeclaration_Arguments()
-