@OpenApiAll
public class ExpressionHelper
extends java.lang.Object
ParameterizedExpression| Constructor and Description |
|---|
ExpressionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
call(ParameterizedExpression parameterizedExpression,
java.util.List<?> arguments,
ValueContext valueContext)
Call
parameterizedExpression and returns value. |
static java.lang.Object |
call(ParameterizedExpression expression,
java.lang.Object... arguments)
Simplified
|
@CheckForNull public static java.lang.Object call(ParameterizedExpression expression, java.lang.Object... arguments) throws java.lang.Exception
ValueContext is null.expression - expression to call. If not ParametrizedExpression result will be nullarguments - arguments for the expressionjava.lang.Exception - various exceptions, mostly from java.lang.reflect.Method#invoke(java.lang.Object, java.lang.Object...)@CheckForNull public static java.lang.Object call(ParameterizedExpression parameterizedExpression, @CheckForNull java.util.List<?> arguments, @CheckForNull ValueContext valueContext) throws java.lang.Exception
parameterizedExpression and returns value.parameterizedExpression - expression which should be calledarguments - arguments for the expression. If arguments do ot match, then exception will be thrownvalueContext - value context for the evaluated value. Usually nulljava.lang.Exception - various exceptions, mostly from java.lang.reflect.Method#invoke(java.lang.Object, java.lang.Object...)