Package org.eclipse.gmt.modisco.java
Interface ArrayAccess
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
ArrayAccessImpl
public interface ArrayAccess extends Expression
A representation of the model object 'Array Access'.
The following features are supported:
- See Also:
JavaPackage.getArrayAccess()
-
Method Summary
Modifier and Type Method Description ExpressiongetArray()Returns the value of the 'Array' containment reference.ExpressiongetIndex()Returns the value of the 'Index' containment reference.voidsetArray(Expression value)Sets the value of the 'Array' containment reference.voidsetIndex(Expression value)Sets the value of the 'Index' containment reference.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
-
getArray
Expression getArray()Returns the value of the 'Array' containment reference.- Returns:
- the value of the 'Array' containment reference.
- See Also:
setArray(Expression),JavaPackage.getArrayAccess_Array()
-
setArray
Sets the value of the 'Array' containment reference.- Parameters:
value- the new value of the 'Array' containment reference.- See Also:
getArray()
-
getIndex
Expression getIndex()Returns the value of the 'Index' containment reference.- Returns:
- the value of the 'Index' containment reference.
- See Also:
setIndex(Expression),JavaPackage.getArrayAccess_Index()
-
setIndex
Sets the value of the 'Index' containment reference.- Parameters:
value- the new value of the 'Index' containment reference.- See Also:
getIndex()
-