public class InstanceOfNode extends Node
x instanceof Point
| Modifier and Type | Field and Description | 
|---|---|
| protected Node | operandThe value being tested. | 
| protected TypeMirror | refTypeThe reference type being tested against. | 
| protected InstanceOfTree | treeThe tree associated with this node. | 
| protected Types | typesFor Types.isSameType. | 
| Constructor and Description | 
|---|
| InstanceOfNode(Tree tree,
              Node operand,
              TypeMirror refType,
              Types types)Create an InstanceOfNode. | 
| Modifier and Type | Method and Description | 
|---|---|
| <R,P> R | accept(NodeVisitor<R,P> visitor,
      P p)Accept method of the visitor pattern. | 
| boolean | equals(@Nullable Object obj) | 
| Node | getOperand() | 
| Collection<Node> | getOperands() | 
| TypeMirror | getRefType()The reference type being tested against. | 
| InstanceOfTree | getTree()Returns the  Treein the abstract syntax tree, ornullif no corresponding tree
 exists. | 
| int | hashCode() | 
| String | toString() | 
getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setAssignmentContext, setBlock, setInSource, setLValue, toStringDebugprotected final Node operand
protected final TypeMirror refType
protected final InstanceOfTree tree
protected final Types types
public InstanceOfNode(Tree tree, Node operand, TypeMirror refType, Types types)
public Node getOperand()
public TypeMirror getRefType()
public InstanceOfTree getTree()
NodeTree in the abstract syntax tree, or null if no corresponding tree
 exists. For instance, this is the case for an ImplicitThisNode.public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Nodepublic Collection<Node> getOperands()
NodegetOperands in class NodeNodes of this Node