Package org.eclipse.gmt.modisco.java
Interface FieldAccess
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
FieldAccessImpl
public interface FieldAccess extends Expression
A representation of the model object 'Field Access'.
The following features are supported:
- See Also:
JavaPackage.getFieldAccess()
-
Method Summary
Modifier and Type Method Description ExpressiongetExpression()Returns the value of the 'Expression' containment reference.SingleVariableAccessgetField()Returns the value of the 'Field' containment reference.voidsetExpression(Expression value)Sets the value of the 'Expression' containment reference.voidsetField(SingleVariableAccess value)Sets the value of the 'Field' 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
-
getField
SingleVariableAccess getField()Returns the value of the 'Field' containment reference.- Returns:
- the value of the 'Field' containment reference.
- See Also:
setField(SingleVariableAccess),JavaPackage.getFieldAccess_Field()
-
setField
Sets the value of the 'Field' containment reference.- Parameters:
value- the new value of the 'Field' containment reference.- See Also:
getField()
-
getExpression
Expression getExpression()Returns the value of the 'Expression' containment reference.- Returns:
- the value of the 'Expression' containment reference.
- See Also:
setExpression(Expression),JavaPackage.getFieldAccess_Expression()
-
setExpression
Sets the value of the 'Expression' containment reference.- Parameters:
value- the new value of the 'Expression' containment reference.- See Also:
getExpression()
-