Package org.eclipse.gmt.modisco.java
Interface VariableDeclarationStatement
- All Superinterfaces:
AbstractVariablesContainer,ASTNode,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject,Iterable<fr.inria.atlanmod.neoemf.core.PersistentEObject>,org.eclipse.emf.common.notify.Notifier,fr.inria.atlanmod.neoemf.core.PersistentEObject,Statement,fr.inria.atlanmod.neoemf.data.store.Storable
- All Known Implementing Classes:
VariableDeclarationStatementImpl
public interface VariableDeclarationStatement extends Statement, AbstractVariablesContainer
A representation of the model object 'Variable Declaration Statement'.
The following features are supported:
-
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<Annotation>getAnnotations()Returns the value of the 'Annotations' containment reference list.intgetExtraArrayDimensions()Returns the value of the 'Extra Array Dimensions' attribute.ModifiergetModifier()Returns the value of the 'Modifier' containment reference.voidsetExtraArrayDimensions(int value)Sets the value of the 'Extra Array Dimensions' attribute.voidsetModifier(Modifier value)Sets the value of the 'Modifier' containment reference.Methods inherited from interface org.eclipse.gmt.modisco.java.AbstractVariablesContainer
getFragments, getType, setTypeMethods 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.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.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
eStore
-
Method Details
-
getExtraArrayDimensions
int getExtraArrayDimensions()Returns the value of the 'Extra Array Dimensions' attribute.- Returns:
- the value of the 'Extra Array Dimensions' attribute.
- See Also:
setExtraArrayDimensions(int),JavaPackage.getVariableDeclarationStatement_ExtraArrayDimensions()
-
setExtraArrayDimensions
void setExtraArrayDimensions(int value)Sets the value of the 'Extra Array Dimensions' attribute.- Parameters:
value- the new value of the 'Extra Array Dimensions' attribute.- See Also:
getExtraArrayDimensions()
-
getModifier
Modifier getModifier()Returns the value of the 'Modifier' containment reference. It is bidirectional and its opposite is 'Variable Declaration Statement'.- Returns:
- the value of the 'Modifier' containment reference.
- See Also:
setModifier(Modifier),JavaPackage.getVariableDeclarationStatement_Modifier(),Modifier.getVariableDeclarationStatement()
-
setModifier
Sets the value of the 'Modifier' containment reference.- Parameters:
value- the new value of the 'Modifier' containment reference.- See Also:
getModifier()
-
getAnnotations
org.eclipse.emf.common.util.EList<Annotation> getAnnotations()Returns the value of the 'Annotations' containment reference list. The list contents are of typeAnnotation.- Returns:
- the value of the 'Annotations' containment reference list.
- See Also:
JavaPackage.getVariableDeclarationStatement_Annotations()
-