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:
- soot.jimple.toolkits.pointer.representations.ReferenceVariable
- public class FieldRefNode
- extends ValNode
Represents a field reference node (Red) in the pointer assignment graph.
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object