Uses of Class
org.springframework.expression.EvaluationException
Package
Description
Core abstractions behind the Spring Expression Language.
Common utility classes behind the Spring Expression Language.
SpEL's central implementation package.
SpEL's abstract syntax tree.
SpEL's standard parser implementation.
SpEL's default implementations for various core abstractions.
-
Uses of EvaluationException in org.springframework.expression
Modifier and TypeClassDescriptionclass
This exception wraps (as cause) a checked exception thrown by some method that SpEL invokes.Modifier and TypeMethodDescriptionint
Compare two given objects.Class<?>
Find a type by name.Expression.getValue()
Evaluate this expression in the default context and return the result of evaluation.<T> @Nullable T
Evaluate this expression in the default context and return the result of evaluation.Evaluate this expression in the default context against the specified root object and return the result of evaluation.<T> @Nullable T
Evaluate this expression in the default context against the specified root object and return the result of evaluation.Expression.getValue
(EvaluationContext context) Evaluate this expression in the provided context and return the result of evaluation.<T> @Nullable T
Expression.getValue
(EvaluationContext context, @Nullable Class<T> desiredResultType) Evaluate this expression in the provided context and return the result of evaluation.Expression.getValue
(EvaluationContext context, @Nullable Object rootObject) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.<T> @Nullable T
Expression.getValue
(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> desiredResultType) Evaluate this expression in the provided context against the specified root object and return the result of evaluation.Expression.getValueType()
Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)
method using the default context.Expression.getValueType
(@Nullable Object rootObject) Return the most general type that can be passed to theExpression.setValue(Object, Object)
method using the default context.Expression.getValueType
(EvaluationContext context) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)
method for the given context.Expression.getValueType
(EvaluationContext context, @Nullable Object rootObject) Return the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)
method for the given context.Expression.getValueTypeDescriptor()
Return a descriptor for the most general type that can be passed to one of thesetValue(...)
methods using the default context.Expression.getValueTypeDescriptor
(@Nullable Object rootObject) Return a descriptor for the most general type that can be passed to theExpression.setValue(Object, Object)
method using the default context.Expression.getValueTypeDescriptor
(EvaluationContext context) Return a descriptor for the most general type that can be passed to theExpression.setValue(EvaluationContext, Object)
method for the given context.Expression.getValueTypeDescriptor
(EvaluationContext context, @Nullable Object rootObject) Return a descriptor for the most general type that can be passed to theExpression.setValue(EvaluationContext, Object, Object)
method for the given context.boolean
Expression.isWritable
(@Nullable Object rootObject) Determine if this expression can be written to, i.e.boolean
Expression.isWritable
(EvaluationContext context) Determine if this expression can be written to, i.e.boolean
Expression.isWritable
(EvaluationContext context, @Nullable Object rootObject) Determine if this expression can be written to, i.e.OperatorOverloader.operate
(Operation operation, @Nullable Object leftOperand, @Nullable Object rightOperand) Perform the specified operation on the two operands, returning a result.boolean
OperatorOverloader.overridesOperation
(Operation operation, @Nullable Object leftOperand, @Nullable Object rightOperand) Returntrue
if this operator overloader supports the specified operation on the two operands and should be invoked to handle it.void
Set this expression in the default context to the value provided.void
Expression.setValue
(EvaluationContext context, @Nullable Object value) Set this expression in the provided context to the value provided.void
Set this expression in the provided context to the value provided. -
Uses of EvaluationException in org.springframework.expression.common
Modifier and TypeMethodDescriptionCompositeStringExpression.getValue()
<T> @Nullable T
<T> @Nullable T
CompositeStringExpression.getValue
(@Nullable Object rootObject, @Nullable Class<T> desiredResultType) CompositeStringExpression.getValue
(EvaluationContext context) <T> @Nullable T
CompositeStringExpression.getValue
(EvaluationContext context, @Nullable Class<T> expectedResultType) CompositeStringExpression.getValue
(EvaluationContext context, @Nullable Object rootObject) <T> @Nullable T
CompositeStringExpression.getValue
(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> desiredResultType) <T> @Nullable T
<T> @Nullable T
<T> @Nullable T
LiteralExpression.getValue
(EvaluationContext context, @Nullable Class<T> expectedResultType) LiteralExpression.getValue
(EvaluationContext context, @Nullable Object rootObject) <T> @Nullable T
LiteralExpression.getValue
(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> desiredResultType) Class<?>
CompositeStringExpression.getValueType
(@Nullable Object rootObject) Class<?>
CompositeStringExpression.getValueType
(EvaluationContext context, @Nullable Object rootObject) Class<?>
LiteralExpression.getValueType
(@Nullable Object rootObject) Class<?>
LiteralExpression.getValueType
(EvaluationContext context, @Nullable Object rootObject) CompositeStringExpression.getValueTypeDescriptor
(@Nullable Object rootObject) CompositeStringExpression.getValueTypeDescriptor
(EvaluationContext context, @Nullable Object rootObject) LiteralExpression.getValueTypeDescriptor
(@Nullable Object rootObject) LiteralExpression.getValueTypeDescriptor
(EvaluationContext context, @Nullable Object rootObject) boolean
CompositeStringExpression.isWritable
(@Nullable Object rootObject) boolean
CompositeStringExpression.isWritable
(EvaluationContext context, @Nullable Object rootObject) boolean
LiteralExpression.isWritable
(@Nullable Object rootObject) boolean
LiteralExpression.isWritable
(EvaluationContext context, @Nullable Object rootObject) void
void
CompositeStringExpression.setValue
(EvaluationContext context, @Nullable Object value) void
CompositeStringExpression.setValue
(EvaluationContext context, @Nullable Object rootObject, @Nullable Object value) void
void
LiteralExpression.setValue
(EvaluationContext context, @Nullable Object value) void
LiteralExpression.setValue
(EvaluationContext context, @Nullable Object rootObject, @Nullable Object value) -
Uses of EvaluationException in org.springframework.expression.spel
Modifier and TypeClassDescriptionclass
Root exception for Spring EL related exceptions.Modifier and TypeMethodDescriptionExpressionState.convertValue
(Object value, TypeDescriptor targetTypeDescriptor) ExpressionState.convertValue
(TypedValue value, TypeDescriptor targetTypeDescriptor) Class<?>
SpelNode.getTypedValue
(ExpressionState expressionState) Evaluate the expression node in the context of the supplied expression state and return the typed value.abstract Object
CompiledExpression.getValue
(@Nullable Object target, @Nullable EvaluationContext context) Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.SpelNode.getValue
(ExpressionState expressionState) Evaluate the expression node in the context of the supplied expression state and return the value.boolean
SpelNode.isWritable
(ExpressionState expressionState) Determine if this expression node will support a setValue() call.void
SpelNode.setValue
(ExpressionState expressionState, @Nullable Object newValue) Evaluate the expression to a node and then set the new value on that node. -
Uses of EvaluationException in org.springframework.expression.spel.ast
Modifier and TypeMethodDescriptionfinal TypedValue
SpelNodeImpl.getTypedValue
(ExpressionState expressionState) SpelNodeImpl.getValue
(ExpressionState expressionState) protected final <T> @Nullable T
SpelNodeImpl.getValue
(ExpressionState state, Class<T> desiredReturnType) Assign.getValueInternal
(ExpressionState state) BeanReference.getValueInternal
(ExpressionState state) CompoundExpression.getValueInternal
(ExpressionState state) Evaluates a compound expression.ConstructorReference.getValueInternal
(ExpressionState state) Implements getValue() - delegating to the code for building an array or a simple type.Elvis.getValueInternal
(ExpressionState state) Evaluate the condition and if neither null nor an empty String, return it.FunctionReference.getValueInternal
(ExpressionState state) Indexer.getValueInternal
(ExpressionState state) InlineList.getValueInternal
(ExpressionState expressionState) InlineMap.getValueInternal
(ExpressionState expressionState) MethodReference.getValueInternal
(ExpressionState state) OpAnd.getValueInternal
(ExpressionState state) OpDec.getValueInternal
(ExpressionState state) OpDivide.getValueInternal
(ExpressionState state) OpEQ.getValueInternal
(ExpressionState state) OperatorBetween.getValueInternal
(ExpressionState state) Returns a boolean based on whether a value is in the range expressed.OperatorInstanceof.getValueInternal
(ExpressionState state) Compare the left operand to see it is an instance of the type specified as the right operand.OperatorMatches.getValueInternal
(ExpressionState state) Check the first operand matches the regex specified as the second operand.OperatorNot.getValueInternal
(ExpressionState state) OperatorPower.getValueInternal
(ExpressionState state) OpGE.getValueInternal
(ExpressionState state) OpGT.getValueInternal
(ExpressionState state) OpInc.getValueInternal
(ExpressionState state) OpLE.getValueInternal
(ExpressionState state) OpLT.getValueInternal
(ExpressionState state) OpMinus.getValueInternal
(ExpressionState state) OpModulus.getValueInternal
(ExpressionState state) OpMultiply.getValueInternal
(ExpressionState state) Implements themultiply
operator directly here for certain types of supported operands and otherwise delegates to any registered overloader for types not supported here.OpNE.getValueInternal
(ExpressionState state) OpOr.getValueInternal
(ExpressionState state) OpPlus.getValueInternal
(ExpressionState state) Projection.getValueInternal
(ExpressionState state) PropertyOrFieldReference.getValueInternal
(ExpressionState state) QualifiedIdentifier.getValueInternal
(ExpressionState state) Selection.getValueInternal
(ExpressionState state) abstract TypedValue
SpelNodeImpl.getValueInternal
(ExpressionState expressionState) Ternary.getValueInternal
(ExpressionState state) Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.TypeReference.getValueInternal
(ExpressionState state) protected ValueRef
CompoundExpression.getValueRef
(ExpressionState state) protected ValueRef
Indexer.getValueRef
(ExpressionState state) protected ValueRef
MethodReference.getValueRef
(ExpressionState state) protected ValueRef
Projection.getValueRef
(ExpressionState state) PropertyOrFieldReference.getValueRef
(ExpressionState state) protected ValueRef
Selection.getValueRef
(ExpressionState state) protected ValueRef
SpelNodeImpl.getValueRef
(ExpressionState state) boolean
CompoundExpression.isWritable
(ExpressionState state) boolean
PropertyOrFieldReference.isWritable
(ExpressionState state) boolean
SpelNodeImpl.isWritable
(ExpressionState expressionState) boolean
PropertyOrFieldReference.isWritableProperty
(String name, TypedValue contextObject, EvaluationContext evalContext) void
SpelNodeImpl.setValue
(ExpressionState expressionState, @Nullable Object newValue) CompoundExpression.setValueInternal
(ExpressionState state, Supplier<TypedValue> valueSupplier) Indexer.setValueInternal
(ExpressionState state, Supplier<TypedValue> valueSupplier) PropertyOrFieldReference.setValueInternal
(ExpressionState state, Supplier<TypedValue> valueSupplier) SpelNodeImpl.setValueInternal
(ExpressionState expressionState, Supplier<TypedValue> valueSupplier) Evaluate the expression to a node and then set the new value created by the specifiedSupplier
on that node.VariableReference.setValueInternal
(ExpressionState state, Supplier<TypedValue> valueSupplier) -
Uses of EvaluationException in org.springframework.expression.spel.standard
Modifier and TypeMethodDescriptionSpelExpression.getValue()
<T> @Nullable T
<T> @Nullable T
SpelExpression.getValue
(EvaluationContext context) <T> @Nullable T
SpelExpression.getValue
(EvaluationContext context, @Nullable Class<T> expectedResultType) SpelExpression.getValue
(EvaluationContext context, @Nullable Object rootObject) <T> @Nullable T
SpelExpression.getValue
(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> expectedResultType) SpelExpression.getValueType()
SpelExpression.getValueType
(@Nullable Object rootObject) SpelExpression.getValueType
(EvaluationContext context) SpelExpression.getValueType
(EvaluationContext context, @Nullable Object rootObject) SpelExpression.getValueTypeDescriptor()
SpelExpression.getValueTypeDescriptor
(@Nullable Object rootObject) SpelExpression.getValueTypeDescriptor
(EvaluationContext context) SpelExpression.getValueTypeDescriptor
(EvaluationContext context, @Nullable Object rootObject) boolean
SpelExpression.isWritable
(@Nullable Object rootObject) boolean
SpelExpression.isWritable
(EvaluationContext context) boolean
SpelExpression.isWritable
(EvaluationContext context, @Nullable Object rootObject) void
void
SpelExpression.setValue
(EvaluationContext context, @Nullable Object value) void
SpelExpression.setValue
(EvaluationContext context, @Nullable Object rootObject, @Nullable Object value) -
Uses of EvaluationException in org.springframework.expression.spel.support
Modifier and TypeMethodDescriptionstatic boolean
ReflectionHelper.convertAllMethodHandleArguments
(TypeConverter converter, @Nullable Object[] arguments, MethodHandle methodHandle, @Nullable Integer varargsPosition) Convert the supplied set of arguments into the parameter types of the suppliedMethodHandle
, taking the varargs position into account.Class<?>
Find a (possibly unqualified) type reference, first using the type name as-is, and then trying any registered import prefixes if the type name cannot be found.StandardOperatorOverloader.operate
(Operation operation, @Nullable Object leftOperand, @Nullable Object rightOperand) boolean
StandardOperatorOverloader.overridesOperation
(Operation operation, @Nullable Object leftOperand, @Nullable Object rightOperand)