Class ThisNode

  • All Implemented Interfaces:
    org.plumelib.util.UniqueId
    Direct Known Subclasses:
    ExplicitThisNode, ImplicitThisNode

    public abstract class ThisNode
    extends Node
    A node for a reference to 'this', either implicit or explicit.
       this
     
    • Constructor Detail

      • ThisNode

        protected ThisNode​(javax.lang.model.type.TypeMirror type)
    • Method Detail

      • equals

        public boolean equals​(@Nullable java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • getOperands

        @SideEffectFree
        public java.util.Collection<Node> getOperands()
        Description copied from class: Node
        Returns a collection containing all of the operand Nodes of this Node.
        Specified by:
        getOperands in class Node
        Returns:
        a collection containing all of the operand Nodes of this Node