|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cmu.cs.crystal.tac.eclipse.EclipseAbstractFieldAccess<VariableDeclaration>
edu.cmu.cs.crystal.tac.eclipse.EclipseFieldDeclaration
public class EclipseFieldDeclaration
Field access constituted by a field declaration
Constructor Summary | |
---|---|
EclipseFieldDeclaration(VariableDeclaration node,
IEclipseVariableQuery query)
|
Method Summary | |
---|---|
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. |
Methods inherited from class edu.cmu.cs.crystal.tac.eclipse.EclipseAbstractFieldAccess |
---|
getAccessedObject, isStaticFieldAccess |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.cmu.cs.crystal.tac.eclipse.IEclipseFieldAccess |
---|
getAccessedObject |
Constructor Detail |
---|
public EclipseFieldDeclaration(VariableDeclaration node, IEclipseVariableQuery query)
node
- query
- Method Detail |
---|
public SimpleName getFieldName()
IEclipseFieldAccess
getFieldName
in interface IEclipseFieldAccess
public boolean isExplicitSuperAccess()
IEclipseFieldAccess
super.f
.
The field being accessed may be a static or instance field.
isExplicitSuperAccess
in interface IEclipseFieldAccess
true
if this is an explicit super-field access,
false
otherwise.public boolean isImplicitThisAccess()
IEclipseFieldAccess
isImplicitThisAccess
in interface IEclipseFieldAccess
true
if this is an implicit access to a receiver field
and false
otherwise.public IVariableBinding resolveFieldBinding()
IEclipseFieldAccess
null
is returned.
resolveFieldBinding
in interface IEclipseFieldAccess
null
if
the binding could not be resolved.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |