soot.jimple.spark.pag
Class AllocNode

java.lang.Object
  |
  +--soot.jimple.spark.pag.Node
        |
        +--soot.jimple.spark.pag.AllocNode
Direct Known Subclasses:
ClassConstantNode, StringConstantNode

public class AllocNode
extends Node

Represents an allocation site node (Blue) in the pointer assignment graph.


Field Summary
protected  java.util.Map fields
           
protected  java.lang.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.
 java.util.Collection getAllFieldRefs()
          Returns all field ref nodes having this node as their base.
 java.util.Set getFields()
           
 SootMethod getMethod()
           
 java.lang.Object getNewExpr()
          Returns the new expression of this allocation site.
 java.lang.String toString()
           
 
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
 

Field Detail

newExpr

protected java.lang.Object newExpr

fields

protected java.util.Map fields
Method Detail

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()
Overrides:
toString in class java.lang.Object

getFields

public java.util.Set getFields()

getMethod

public SootMethod getMethod()