soot.jimple.spark.pag
Class AllocNode
java.lang.Object
soot.jimple.spark.pag.Node
soot.jimple.spark.pag.AllocNode
- All Implemented Interfaces:
- Numberable, ReferenceVariable
- Direct Known Subclasses:
- ClassConstantNode, StringConstantNode
- public class AllocNode
- extends Node
Represents an allocation site node (Blue) in the pointer assignment graph.
- Author:
- Ondrej Lhotak
Field Summary |
protected java.util.Map |
fields
|
protected java.lang.Object |
newExpr
|
Methods inherited from class soot.jimple.spark.pag.Node |
equals, getNumber, getP2Set, getPag, getReplacement, getType, hashCode, makeP2Set, mergeWith, setNumber, setType |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
newExpr
protected java.lang.Object newExpr
fields
protected java.util.Map fields
getNewExpr
public java.lang.Object getNewExpr()
- Returns the new expression of this allocation site.
getAllFieldRefs
public java.util.Collection getAllFieldRefs()
- Returns all field ref nodes having this node as their base.
dot
public AllocDotField dot(SparkField field)
- Returns the field ref node having this node as its base,
and field as its field; null if nonexistent.
toString
public java.lang.String toString()
getFields
public java.util.Set getFields()
getMethod
public SootMethod getMethod()