public abstract class VarNode extends ValNode implements Comparable
| Modifier and Type | Field and Description |
|---|---|
protected Map<SparkField,FieldRefNode> |
fields |
protected int |
finishingNumber |
protected boolean |
interProcSource |
protected boolean |
interProcTarget |
protected int |
numDerefs |
protected Object |
variable |
p2set, pag, replacement, type| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(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.
|
Collection<FieldRefNode> |
getAllFieldRefs()
Returns all field ref nodes having this node as their base.
|
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 Object variable
protected Map<SparkField,FieldRefNode> fields
protected int finishingNumber
protected boolean interProcTarget
protected boolean interProcSource
protected int numDerefs
public Context context()
public Collection<FieldRefNode> getAllFieldRefs()
public FieldRefNode dot(SparkField field)
public int compareTo(Object o)
compareTo in interface Comparablepublic void setFinishingNumber(int i)
public Object getVariable()
public void setInterProcTarget()
public boolean isInterProcTarget()
public void setInterProcSource()
public boolean isInterProcSource()
public boolean isThisPtr()
Copyright © 2020 Soot OSS. All rights reserved.