Class ThisNode
- java.lang.Object
-
- org.checkerframework.dataflow.cfg.node.Node
-
- org.checkerframework.dataflow.cfg.node.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 Summary
Constructors Modifier Constructor Description protected
ThisNode(javax.lang.model.type.TypeMirror type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(@Nullable java.lang.Object obj)
java.util.Collection<Node>
getOperands()
int
hashCode()
-
Methods inherited from class org.checkerframework.dataflow.cfg.node.Node
accept, getBlock, getInSource, getTransitiveOperands, getTree, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebug
-
-
-
-
Method Detail
-
equals
public boolean equals(@Nullable java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getOperands
@SideEffectFree public java.util.Collection<Node> getOperands()
Description copied from class:Node
- Specified by:
getOperands
in classNode
- Returns:
- a collection containing all of the operand
Node
s of thisNode
-
-