soot.jimple.spark.pag
Class AllocNode
java.lang.Object
soot.jimple.spark.pag.Node
soot.jimple.spark.pag.AllocNode
- All Implemented Interfaces:
- Context, ReferenceVariable, Numberable
- Direct Known Subclasses:
- ClassConstantNode, StringConstantNode
public class AllocNode
- extends Node
- implements Context
Represents an allocation site node (Blue) in the pointer assignment graph.
- Author:
- Ondrej Lhotak
Methods inherited from class soot.jimple.spark.pag.Node |
discardP2Set, equals, getNumber, getP2Set, getPag, getReplacement, getType, hashCode, makeP2Set, mergeWith, setNumber, setP2Set, setType |
newExpr
protected Object newExpr
fields
protected Map fields
getNewExpr
public Object getNewExpr()
- Returns the new expression of this allocation site.
getAllFieldRefs
public 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 String toString()
- Overrides:
toString
in class Object
getFields
public Set<AllocDotField> getFields()
getMethod
public SootMethod getMethod()