E - Expression type
R - Resolved expression type
@FunctionalInterface public static interface Expression.ExpressionResolverFunction<E extends Expression,R extends Expression>
Optional<R> resolve(E expression, ExpressionResolver.ResolutionContext context) throws Expression.InvalidExpressionException
expression. If the resolver is not able to resolve given expression type,
an empty Optional must be returned and the expression resolution engine should delegate the resolution to the
next resolver, if available.
Concrete resolution environments could provide a more specialized
expression - Expression to resolve
context - Resolution context
Expression.InvalidExpressionException - An error occurred during expression resolution
Copyright © 2019 The Holon Platform. All rights reserved.