soot.jimple.spark.pag
Class FieldRefNode

java.lang.Object
  extended by soot.jimple.spark.pag.Node
      extended by soot.jimple.spark.pag.ValNode
          extended by soot.jimple.spark.pag.FieldRefNode
All Implemented Interfaces:
ReferenceVariable, Numberable

public class FieldRefNode
extends ValNode

Represents a field reference node (Red) in the pointer assignment graph.

Author:
Ondrej Lhotak

Field Summary
protected  VarNode base
           
protected  SparkField field
           
 
Fields inherited from class soot.jimple.spark.pag.Node
p2set, pag, replacement, type
 
Method Summary
 VarNode getBase()
          Returns the base of this field reference.
 SparkField getField()
          Returns the field of this field reference.
 Node getReplacement()
          If this node has been merged with another, returns the new node to be used as the representative of this node; returns this if the node has not been merged.
 String toString()
           
 
Methods inherited from class soot.jimple.spark.pag.Node
discardP2Set, equals, getNumber, getP2Set, getPag, getType, hashCode, makeP2Set, mergeWith, setNumber, setP2Set, setType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

base

protected VarNode base

field

protected SparkField field
Method Detail

getBase

public VarNode getBase()
Returns the base of this field reference.


getReplacement

public Node getReplacement()
Description copied from class: Node
If this node has been merged with another, returns the new node to be used as the representative of this node; returns this if the node has not been merged.

Overrides:
getReplacement in class Node

getField

public SparkField getField()
Returns the field of this field reference.


toString

public String toString()
Overrides:
toString in class Object