public interface VariableAccessElement extends ExtendedElement
targetExpression.variableName or variableName).| Modifier and Type | Method and Description |
|---|---|
Element |
getTargetElement()
Returns the target element holding the variable declaration (can be a
type or an executable in case of a local variable).
|
ExtendedElement |
getTargetExpression()
Gets the target expression of the access (the part before the dot), if
any.
|
VariableElement |
getVariable()
Gets the accessed variable element .
|
String |
getVariableName()
Gets the name of the accessed variable.
|
getType, getTypeAsElement, isConstant, isStringLiteralExtendedElement getTargetExpression()
String getVariableName()
Element getTargetElement()
VariableElement getVariable()