public class LambdaResultExpressionNode extends Node
| Modifier and Type | Field and Description |
|---|---|
protected @Nullable Node |
result |
protected ExpressionTree |
tree |
| Constructor and Description |
|---|
LambdaResultExpressionNode(ExpressionTree t,
@Nullable Node result,
javax.lang.model.util.Types types) |
| Modifier and Type | Method and Description |
|---|---|
<R,P> R |
accept(NodeVisitor<R,P> visitor,
P p)
Accept method of the visitor pattern
|
boolean |
equals(java.lang.Object obj) |
java.util.Collection<Node> |
getOperands() |
Node |
getResult()
Returns the final node of the CFG corresponding to the lambda expression body (see
getTree()). |
ExpressionTree |
getTree()
Returns the
ExpressionTree corresponding to the body of a lambda expression with an
expression body (e.g. |
int |
hashCode() |
java.lang.String |
toString() |
getAssignmentContext, getBlock, getInSource, getTransitiveOperands, getType, isLValue, setAssignmentContext, setBlock, setInSource, setLValueprotected final ExpressionTree tree
public LambdaResultExpressionNode(ExpressionTree t, @Nullable Node result, javax.lang.model.util.Types types)
public Node getResult()
getTree()).public ExpressionTree getTree()
ExpressionTree corresponding to the body of a lambda expression with an
expression body (e.g. X for (o -> X) where X is an expression and not a {...}
block).public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Nodepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.Collection<Node> getOperands()
getOperands in class NodeNodes of this Node.