public abstract class VarNode extends ValNode implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<SparkField,FieldRefNode> |
fields |
protected int |
finishingNumber |
protected boolean |
interProcSource |
protected boolean |
interProcTarget |
protected int |
numDerefs |
protected java.lang.Object |
variable |
p2set, pag, replacement, type
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
Context |
context() |
FieldRefNode |
dot(SparkField field)
Returns the field ref node having this node as its base, and field as its
field; null if nonexistent.
|
java.util.Collection<FieldRefNode> |
getAllFieldRefs()
Returns all field ref nodes having this node as their base.
|
java.lang.Object |
getVariable()
Returns the underlying variable that this node represents.
|
boolean |
isInterProcSource()
Returns true if this node is the potential source of a interprocedural
assignment edge which may be added during on-the-fly call graph updating.
|
boolean |
isInterProcTarget()
Returns true if this node is the potential target of a interprocedural
assignment edge which may be added during on-the-fly call graph updating.
|
boolean |
isThisPtr()
Returns true if this VarNode represents the THIS pointer
|
void |
setFinishingNumber(int i) |
void |
setInterProcSource()
Designates this node as the potential source of a interprocedural assignment
edge which may be added during on-the-fly call graph updating.
|
void |
setInterProcTarget()
Designates this node as the potential target of a interprocedural assignment
edge which may be added during on-the-fly call graph updating.
|
protected java.lang.Object variable
protected java.util.Map<SparkField,FieldRefNode> fields
protected int finishingNumber
protected boolean interProcTarget
protected boolean interProcSource
protected int numDerefs
public Context context()
public java.util.Collection<FieldRefNode> getAllFieldRefs()
public FieldRefNode dot(SparkField field)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public void setFinishingNumber(int i)
public java.lang.Object getVariable()
public void setInterProcTarget()
public boolean isInterProcTarget()
public void setInterProcSource()
public boolean isInterProcSource()
public boolean isThisPtr()