soot.jimple.spark.pag
Class AllocNode

java.lang.Object
  extended bysoot.jimple.spark.pag.Node
      extended bysoot.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
           
 
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()

getFields

public java.util.Set getFields()

getMethod

public SootMethod getMethod()