Interface JavaLambdaBody

All Superinterfaces:
TargetLanguageRepresentation
All Known Implementing Classes:
JavaBlock, JavaConditionalExpression, JavaExpression, JavaThis, JavaVariable

public interface JavaLambdaBody extends TargetLanguageRepresentation
Based on the Java specification: https://docs.oracle.com/javase/specs/jls/se11/html/jls-15.html#jls-LambdaBody The body of a lambda expression can be either - an expression, as in `x -> 42` - see `JavaExpression`, or - a block statement, as in `x -> { return 42; }` - see `JavaBlock`.