public abstract class VarNode extends ValNode
| Modifier and Type | Field and Description |
|---|---|
protected Map<SparkField,FieldRefNode> |
fields |
protected boolean |
interProcSource |
protected boolean |
interProcTarget |
protected Object |
variable |
| Modifier | Constructor and Description |
|---|---|
protected |
VarNode(Object variable,
Type t) |
| Modifier and Type | Method and Description |
|---|---|
abstract VarNode |
base() |
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.
|
abstract SootMethod |
getMethod() |
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.
|
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.
|
compareTo, discardP2Set, getP2Setclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetNumber, setNumberprotected Object variable
protected Map<SparkField,FieldRefNode> fields
protected boolean interProcTarget
protected boolean interProcSource
public Context context()
public Collection<FieldRefNode> getAllFieldRefs()
public FieldRefNode dot(SparkField field)
public Object getVariable()
public void setInterProcTarget()
public boolean isInterProcTarget()
public void setInterProcSource()
public boolean isInterProcSource()
public abstract VarNode base()
public abstract SootMethod getMethod()
Copyright © 2024 Soot OSS. All rights reserved.