- All Superinterfaces:
StatementTree,Tree
public interface YieldTree extends StatementTree
A tree node for a
yield statement.
For example:
yield expression ;
- See Java Language Specification:
- Since:
- 13
-
Nested Class Summary
-
Method Summary
Modifier and Type Method Description ExpressionTreegetValue()Returns the expression for thisyieldstatement.
-
Method Details
-
getValue
ExpressionTree getValue()Returns the expression for thisyieldstatement.- Returns:
- the expression
-