soot.jimple.spark.pag
Class FieldRefNode
java.lang.Object
soot.jimple.spark.pag.Node
soot.jimple.spark.pag.ValNode
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
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 |
base
protected VarNode base
field
protected SparkField field
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