| Package | Description |
|---|---|
| co.streamx.fluent.extree.expression |
| Modifier and Type | Method and Description |
|---|---|
static LambdaExpression<?> |
Expression.lambda(Class<?> resultType,
Expression body,
List<ParameterExpression> parameters,
List<Expression> locals,
Object key)
Creates a
LambdaExpression as a method receiving the specified arguments, returning the
resultType and having body for its implementation. |
static <T> LambdaExpression<T> |
LambdaExpression.parse(T lambda)
Creates
LambdaExpression representing the lambda expression tree. |
static LambdaExpression<?> |
LambdaExpression.parseMethod(Method method,
Object instance)
Creates
LambdaExpression representing the passed method expression tree. |
static <T> LambdaExpression<T> |
LambdaExpression.parseMethod(T methodReference)
Creates
LambdaExpression representing the passed method expression tree. |
LambdaExpression<F> |
LambdaExpression.parseMethodRef()
If the LambdaExpression wraps a method call, then returns the method representation as an AST.
Otherwise, returns the current lambda expression. The result is always semantically equivalent to the current lambda expression. |
| Modifier and Type | Method and Description |
|---|---|
T |
ExpressionVisitor.visit(LambdaExpression<?> e)
Visits the
LambdaExpression. |
Expression |
SimpleExpressionVisitor.visit(LambdaExpression<?> e) |
Copyright © 2023 Streamx. All rights reserved.