public class MethodAccessNode extends Node
expression . method ()
| Modifier and Type | Field and Description | 
|---|---|
| protected ExecutableElement | method | 
| protected Node | receiver | 
| protected ExpressionTree | tree | 
| Constructor and Description | 
|---|
| MethodAccessNode(ExpressionTree tree,
                Node receiver)Create a new MethodAccessNode. | 
| 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) | 
| ExecutableElement | getMethod() | 
| Collection<Node> | getOperands() | 
| Node | getReceiver() | 
| Tree | getTree()Returns the  Treein the abstract syntax tree, ornullif no corresponding tree
 exists. | 
| int | hashCode() | 
| String | toString() | 
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebugprotected final ExpressionTree tree
protected final ExecutableElement method
protected final Node receiver
public MethodAccessNode(ExpressionTree tree, Node receiver)
tree - the expression that is a method accessreceiver - the receiverpublic ExecutableElement getMethod()
public Node getReceiver()
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