- 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 ExpressionTree
getValue()
Returns the expression for thisyield
statement.
-
Method Details
-
getValue
ExpressionTree getValue()Returns the expression for thisyield
statement.- Returns:
- the expression
-