APIdia Launch Partner
Top Description Methods
com.sun.source.tree

public Interface YieldTree

extends StatementTree
Known Direct Implementers
com.sun.tools.javac.tree.JCTree.JCYield

A tree node for a yield statement. For example:
  yield expression ;
Since
14
Java Language Specification
14.21 The yield Statement

Method Summary

Modifier and TypeMethod and Description
public ExpressionTree

Returns:

the expression
getValue
()

Returns the expression for this yield statement.

Method Detail

getValueback to summary
public ExpressionTree getValue()

Returns the expression for this yield statement.

Returns:ExpressionTree

the expression