public class LocalVariableNode extends Node
identifierWe allow local variable uses introduced by the
CFGBuilder without corresponding AST Trees.| Modifier and Type | Field and Description | 
|---|---|
| protected @Nullable Node | receiverThe receiver node for the local variable,  nullotherwise. | 
| protected Tree | treeThe tree for the local variable. | 
| Constructor and Description | 
|---|
| LocalVariableNode(Tree tree)Create a new local variable node for the given tree. | 
| LocalVariableNode(Tree tree,
                 @Nullable Node receiver)Create a new local variable node for the given tree and receiver. | 
| 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) | 
| Element | getElement() | 
| String | getName() | 
| Collection<Node> | getOperands() | 
| @Nullable Node | getReceiver()The receiver node for the local variable,  nullotherwise. | 
| Tree | 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 Tree tree
public LocalVariableNode(Tree tree)
tree - thre tree for the local variable: a VariableTree or an IdentifierTreepublic Element getElement()
public @Nullable Node getReceiver()
null otherwise.public String getName()
public Tree 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