Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected VarNodebaseprotected SparkFieldfield-
Fields inherited from class soot.jimple.spark.pag.Node
p2set, pag, replacement, type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VarNodegetBase()Returns the base of this field reference.SparkFieldgetField()Returns the field of this field reference.NodegetReplacement()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.StringtoString()
-
-
-
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:NodeIf 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:
getReplacementin classNode
-
getField
public SparkField getField()
Returns the field of this field reference.
-
-