Class Node

java.lang.Object
qilin.core.pag.Node
All Implemented Interfaces:
Numberable
Direct Known Subclasses:
AllocNode, FieldRefNode, ValNode

public class Node extends Object implements Numberable
Represents every node in the pointer assignment graph.
Author:
Ondrej Lhotak
  • Field Details

  • Constructor Details

    • Node

      protected Node(Type type)
      Creates a new node of pointer assignment graph pag, with type type.
  • Method Details

    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object other)
      Overrides:
      equals in class Object
    • getType

      public Type getType()
      Returns the declared type of this node, null for unknown.
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface Numberable
    • setNumber

      public final void setNumber(int number)
      Specified by:
      setNumber in interface Numberable