soot.jimple.spark.pag
Class AllocNode

java.lang.Object
  extended by soot.jimple.spark.pag.Node
      extended by 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

Field Summary
protected  Map fields
           
protected  Object newExpr
           
 
Fields inherited from class soot.jimple.spark.pag.Node
p2set, pag, replacement, type
 
Method Summary
 AllocDotField dot(SparkField field)
          Returns the field ref node having this node as its base, and field as its field; null if nonexistent.
 Collection getAllFieldRefs()
          Returns all field ref nodes having this node as their base.
 Set<AllocDotField> getFields()
           
 SootMethod getMethod()
           
 Object getNewExpr()
          Returns the new expression of this allocation site.
 String toString()
           
 
Methods inherited from class soot.jimple.spark.pag.Node
discardP2Set, equals, getNumber, getP2Set, getPag, getReplacement, getType, hashCode, makeP2Set, mergeWith, setNumber, setP2Set, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

newExpr

protected Object newExpr

fields

protected Map fields
Method Detail

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()