Uses of Enum Class
com.sun.source.tree.LambdaExpressionTree.BodyKind
Package
Description
Provides interfaces to represent source code as abstract syntax
trees (AST).
-
Uses of LambdaExpressionTree.BodyKind in com.sun.source.tree
Modifier and TypeClassDescriptionstatic enum
Lambda expressions come in two forms: expression lambdas, whose body is an expression, and statement lambdas, whose body is a blockModifier and TypeMethodDescriptionLambdaExpressionTree.getBodyKind()
Returns the kind of the body of the lambda expression.Returns the enum constant of this class with the specified name.static LambdaExpressionTree.BodyKind[]
LambdaExpressionTree.BodyKind.values()
Returns an array containing the constants of this enum class, in the order they are declared.