|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEclipseFieldAccess
Interface used internally to represent field accesses, x.f.
This helps dealing with the different possible representations
of field accesses in the Eclipse AST (see FieldAccess
).
Method Summary | |
---|---|
Variable |
getAccessedObject()
Returns the variable representing the target of the field access. |
SimpleName |
getFieldName()
Returns the name of the accessed field. |
boolean |
isExplicitSuperAccess()
Indicates whether this is an explicit super-field access, super.f . |
boolean |
isImplicitThisAccess()
Indicates whether this is an implicit access to a receiver field (which could actually be a field of an outer class). |
IVariableBinding |
resolveFieldBinding()
Resolves the binding for the accessed field. |
Method Detail |
---|
SimpleName getFieldName()
IVariableBinding resolveFieldBinding()
null
is returned.
null
if
the binding could not be resolved.Variable getAccessedObject()
boolean isImplicitThisAccess()
true
if this is an implicit access to a receiver field
and false
otherwise.boolean isExplicitSuperAccess()
super.f
.
The field being accessed may be a static or instance field.
true
if this is an explicit super-field access,
false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |