Package org.eclipse.gmt.modisco.java
Interface SingleVariableAccess
- All Superinterfaces:
ASTNode,org.eclipse.emf.ecore.EObject,Expression,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
SingleVariableAccessImpl
public interface SingleVariableAccess extends Expression
A representation of the model object 'Single Variable Access'.
The following features are supported:
- See Also:
JavaPackage.getSingleVariableAccess()
-
Method Summary
Modifier and Type Method Description ExpressiongetQualifier()Returns the value of the 'Qualifier' containment reference.VariableDeclarationgetVariable()Returns the value of the 'Variable' reference.voidsetQualifier(Expression value)Sets the value of the 'Qualifier' containment reference.voidsetVariable(VariableDeclaration value)Sets the value of the 'Variable' 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
-
getVariable
VariableDeclaration getVariable()Returns the value of the 'Variable' reference. It is bidirectional and its opposite is 'Usage In Variable Access'.- Returns:
- the value of the 'Variable' reference.
- See Also:
setVariable(VariableDeclaration),JavaPackage.getSingleVariableAccess_Variable(),VariableDeclaration.getUsageInVariableAccess()
-
setVariable
Sets the value of the 'Variable' reference.- Parameters:
value- the new value of the 'Variable' reference.- See Also:
getVariable()
-
getQualifier
Expression getQualifier()Returns the value of the 'Qualifier' containment reference.- Returns:
- the value of the 'Qualifier' containment reference.
- See Also:
setQualifier(Expression),JavaPackage.getSingleVariableAccess_Qualifier()
-
setQualifier
Sets the value of the 'Qualifier' containment reference.- Parameters:
value- the new value of the 'Qualifier' containment reference.- See Also:
getQualifier()
-