Module jdk.compiler

Enum Class LambdaExpressionTree.BodyKind

java.lang.Object
java.lang.Enum<LambdaExpressionTree.BodyKind>
com.sun.source.tree.LambdaExpressionTree.BodyKind
All Implemented Interfaces:
Serializable, Comparable<LambdaExpressionTree.BodyKind>, Constable
Enclosing interface:
LambdaExpressionTree

public static enum LambdaExpressionTree.BodyKind extends Enum<LambdaExpressionTree.BodyKind>
Lambda expressions come in two forms:
  • expression lambdas, whose body is an expression, and
  • statement lambdas, whose body is a block