Class 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 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.