Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AccessException - Exception in org.springframework.expression
-
An AccessException is thrown by an accessor if it has an unexpected problem.
- AccessException(String) - Constructor for exception org.springframework.expression.AccessException
-
Create an AccessException with a specific message.
- AccessException(String, Exception) - Constructor for exception org.springframework.expression.AccessException
-
Create an AccessException with a specific message and cause.
- ADD - Enum constant in enum class org.springframework.expression.Operation
-
Add operation.
- addConstructorResolver(ConstructorResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- addMethodResolver(MethodResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- addPropertyAccessor(PropertyAccessor) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- ALL - Static variable in class org.springframework.expression.spel.ast.Selection
-
All items (
?[]
). - areBoxingCompatible(String, String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine whether boxing/unboxing can get from one type to the other.
- ARGLIST_SHOULD_NOT_BE_EVALUATED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- ARRAY_INDEX_OUT_OF_BOUNDS - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- arrayCodeFor(String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine the appropriate T tag to use for the NEWARRAY bytecode.
- Assign - Class in org.springframework.expression.spel.ast
-
Represents assignment.
- Assign(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.Assign
- assignVariable(String, Supplier<TypedValue>) - Method in interface org.springframework.expression.EvaluationContext
-
Assign the value created by the specified
Supplier
to a named variable within this evaluation context. - assignVariable(String, Supplier<TypedValue>) - Method in class org.springframework.expression.spel.ExpressionState
-
Assign the value created by the specified
Supplier
to a named variable within the evaluation context. - assignVariable(String, Supplier<TypedValue>) - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
SimpleEvaluationContext
does not support variable assignment within expressions. - AstUtils - Class in org.springframework.expression.spel.ast
-
Utilities methods for use in the Ast classes.
- AstUtils() - Constructor for class org.springframework.expression.spel.ast.AstUtils
B
- BeanReference - Class in org.springframework.expression.spel.ast
-
Represents a bean reference to a type, for example
@foo
or@'foo.bar'
. - BeanReference(int, int, String) - Constructor for class org.springframework.expression.spel.ast.BeanReference
- BeanResolver - Interface in org.springframework.expression
-
A bean resolver can be registered with the evaluation context and will kick in for bean references:
@myBeanName
and&myBeanName
expressions. - BETWEEN_RIGHT_OPERAND_MUST_BE_TWO_ELEMENT_LIST - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- BOOLEAN - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
A
boolean
. - BooleanLiteral - Class in org.springframework.expression.spel.ast
-
Represents the literal values
TRUE
andFALSE
. - BooleanLiteral(String, int, int, boolean) - Constructor for class org.springframework.expression.spel.ast.BooleanLiteral
- BooleanTypedValue - Class in org.springframework.expression.spel.support
-
A
TypedValue
for booleans. - build() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
- Builder(PropertyAccessor...) - Constructor for class org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
- BYTE - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
A
byte
.
C
- canCompare(Object, Object) - Method in class org.springframework.expression.spel.support.StandardTypeComparator
- canCompare(Object, Object) - Method in interface org.springframework.expression.TypeComparator
-
Return
true
if the comparator can compare these two objects. - canConvert(TypeDescriptor, TypeDescriptor) - Method in class org.springframework.expression.spel.support.StandardTypeConverter
- canConvert(TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.expression.TypeConverter
-
Return
true
if the type converter can convert the specified type to the desired target type. - CANNOT_INDEX_INTO_NULL_VALUE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- canRead(EvaluationContext, Object, String) - Method in interface org.springframework.expression.PropertyAccessor
-
Called to determine if a resolver instance is able to access a specified property on a specified target object.
- canRead(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
- canRead(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- canWrite(EvaluationContext, Object, String) - Method in interface org.springframework.expression.PropertyAccessor
-
Called to determine if a resolver instance is able to write to a specified property on a specified target object.
- canWrite(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
- canWrite(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- CHAR - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
A
char
. - checkNumericCompatibility(String, String, String, String) - Static method in class org.springframework.expression.spel.ast.Operator.DescriptorComparison
-
Return an object that indicates whether the input descriptors are compatible.
- children - Variable in class org.springframework.expression.spel.ast.SpelNodeImpl
- CodeFlow - Class in org.springframework.expression.spel
-
Manages the class being generated by the compilation process.
- CodeFlow(String, ClassWriter) - Constructor for class org.springframework.expression.spel.CodeFlow
-
Construct a new
CodeFlow
for the given class. - CodeFlow.ClinitAdder - Interface in org.springframework.expression.spel
-
Interface used to generate
clinit
static initializer blocks. - CodeFlow.FieldAdder - Interface in org.springframework.expression.spel
-
Interface used to generate fields.
- COLLECTION_INDEX_OUT_OF_BOUNDS - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- compare(Object, Object) - Method in class org.springframework.expression.spel.support.StandardTypeComparator
- compare(Object, Object) - Method in interface org.springframework.expression.TypeComparator
-
Compare two given objects.
- CompilablePropertyAccessor - Interface in org.springframework.expression.spel
-
A compilable property accessor is able to generate bytecode that represents the access operation, facilitating compilation to bytecode of expressions that use the accessor.
- compile(Expression) - Static method in class org.springframework.expression.spel.standard.SpelCompiler
-
Request that an attempt is made to compile the specified expression.
- compile(SpelNodeImpl) - Method in class org.springframework.expression.spel.standard.SpelCompiler
-
Attempt compilation of the supplied expression.
- CompiledExpression - Class in org.springframework.expression.spel
-
Base superclass for compiled expressions.
- CompiledExpression() - Constructor for class org.springframework.expression.spel.CompiledExpression
- compileExpression() - Method in class org.springframework.expression.spel.standard.SpelExpression
-
Perform expression compilation.
- CompositeStringExpression - Class in org.springframework.expression.common
-
Represents a template expression broken into pieces.
- CompositeStringExpression(String, Expression[]) - Constructor for class org.springframework.expression.common.CompositeStringExpression
- CompoundExpression - Class in org.springframework.expression.spel.ast
-
Represents a DOT separated expression sequence, such as
'property1.property2.methodOne()'
. - CompoundExpression(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.CompoundExpression
- CONSTRUCTOR_INVOCATION_PROBLEM - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- CONSTRUCTOR_NOT_FOUND - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- ConstructorExecutor - Interface in org.springframework.expression
-
Executors are built by resolvers and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers.
- ConstructorReference - Class in org.springframework.expression.spel.ast
-
Represents the invocation of a constructor.
- ConstructorReference(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.ConstructorReference
-
Create a constructor reference.
- ConstructorReference(int, int, SpelNodeImpl[], SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.ConstructorReference
-
Create a constructor reference.
- ConstructorResolver - Interface in org.springframework.expression
-
A constructor resolver attempts to locate a constructor and returns a ConstructorExecutor that can be used to invoke that constructor.
- convertAllArguments(TypeConverter, Object[], Method) - Static method in class org.springframework.expression.spel.support.ReflectionHelper
-
Convert a supplied set of arguments into the requested types.
- convertTypedValue(EvaluationContext, TypedValue, Class<T>) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Determines if there is a type converter available in the specified context and attempts to use it to convert the supplied value to the specified type.
- convertValue(Object, TypeDescriptor) - Method in class org.springframework.expression.spel.ExpressionState
- convertValue(Object, TypeDescriptor, TypeDescriptor) - Method in class org.springframework.expression.spel.support.StandardTypeConverter
- convertValue(Object, TypeDescriptor, TypeDescriptor) - Method in interface org.springframework.expression.TypeConverter
-
Convert (or coerce) a value from one type to another, for example from a
boolean
to aString
. - convertValue(TypedValue, TypeDescriptor) - Method in class org.springframework.expression.spel.ExpressionState
- createOptimalAccessor(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Attempt to create an optimized property accessor tailored for a property of a particular name on a particular class.
- createSignatureDescriptor(Constructor<?>) - Static method in class org.springframework.expression.spel.CodeFlow
-
Create the JVM signature descriptor for a constructor.
- createSignatureDescriptor(Method) - Static method in class org.springframework.expression.spel.CodeFlow
-
Create the JVM signature descriptor for a method.
D
- DataBindingMethodResolver - Class in org.springframework.expression.spel.support
-
A
MethodResolver
variant for data binding purposes, using reflection to access instance methods on a given target object. - DataBindingPropertyAccessor - Class in org.springframework.expression.spel.support
-
A
PropertyAccessor
variant for data binding purposes, using reflection to access properties for reading and possibly writing. - didArgumentConversionOccur() - Method in class org.springframework.expression.spel.support.ReflectiveMethodExecutor
- DIVIDE - Enum constant in enum class org.springframework.expression.Operation
-
Divide operation.
- doParseExpression(String, ParserContext) - Method in class org.springframework.expression.common.TemplateAwareExpressionParser
-
Actually parse the expression string and return an Expression object.
- doParseExpression(String, ParserContext) - Method in class org.springframework.expression.spel.standard.SpelExpressionParser
- DOUBLE - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
A
double
.
E
- Elvis - Class in org.springframework.expression.spel.ast
-
Represents the elvis operator
?:
. - Elvis(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.Elvis
- enterCompilationScope() - Method in class org.springframework.expression.spel.CodeFlow
-
Enter a new compilation scope, usually due to nested expression evaluation.
- enterScope() - Method in class org.springframework.expression.spel.ExpressionState
- enterScope(String, Object) - Method in class org.springframework.expression.spel.ExpressionState
- enterScope(Map<String, Object>) - Method in class org.springframework.expression.spel.ExpressionState
- equalityCheck(EvaluationContext, Object, Object) - Static method in class org.springframework.expression.spel.ast.Operator
-
Perform an equality check for the given operand values.
- equals(Object) - Method in class org.springframework.expression.TypedValue
- ERROR - Enum constant in enum class org.springframework.expression.spel.SpelMessage.Kind
- EvaluationContext - Interface in org.springframework.expression
-
Expressions are executed in an evaluation context.
- EvaluationException - Exception in org.springframework.expression
-
Represent an exception that occurs during expression evaluation.
- EvaluationException(int, String) - Constructor for exception org.springframework.expression.EvaluationException
-
Create a new expression evaluation exception.
- EvaluationException(int, String, Throwable) - Constructor for exception org.springframework.expression.EvaluationException
-
Create a new expression evaluation exception.
- EvaluationException(String) - Constructor for exception org.springframework.expression.EvaluationException
-
Create a new expression evaluation exception.
- EvaluationException(String, String) - Constructor for exception org.springframework.expression.EvaluationException
-
Create a new expression evaluation exception.
- EvaluationException(String, Throwable) - Constructor for exception org.springframework.expression.EvaluationException
-
Create a new expression evaluation exception.
- EXCEPTION_COMPILING_EXPRESSION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- EXCEPTION_DURING_BEAN_RESOLUTION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- EXCEPTION_DURING_FUNCTION_CALL - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- EXCEPTION_DURING_METHOD_INVOCATION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- EXCEPTION_DURING_PROPERTY_READ - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- EXCEPTION_DURING_PROPERTY_WRITE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- EXCEPTION_RUNNING_COMPILED_EXPRESSION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- execute(EvaluationContext, Object...) - Method in interface org.springframework.expression.ConstructorExecutor
-
Execute a constructor in the specified context using the specified arguments.
- execute(EvaluationContext, Object...) - Method in class org.springframework.expression.spel.support.ReflectiveConstructorExecutor
- execute(EvaluationContext, Object, Object...) - Method in interface org.springframework.expression.MethodExecutor
-
Execute a command using the specified arguments, and using the specified expression state.
- execute(EvaluationContext, Object, Object...) - Method in class org.springframework.expression.spel.support.ReflectiveMethodExecutor
- exitCompilationScope() - Method in class org.springframework.expression.spel.CodeFlow
-
Exit a compilation scope, usually after a nested expression has been evaluated.
- exitScope() - Method in class org.springframework.expression.spel.ExpressionState
- exitTypeDescriptor - Variable in class org.springframework.expression.spel.ast.SpelNodeImpl
-
Indicates the type descriptor for the result of this expression node.
- Expression - Interface in org.springframework.expression
-
An expression capable of evaluating itself against context objects.
- ExpressionException - Exception in org.springframework.expression
-
Superclass for exceptions that can occur whilst processing expressions.
- ExpressionException(int, String) - Constructor for exception org.springframework.expression.ExpressionException
-
Construct a new expression exception.
- ExpressionException(int, String, Throwable) - Constructor for exception org.springframework.expression.ExpressionException
-
Construct a new expression exception.
- ExpressionException(String) - Constructor for exception org.springframework.expression.ExpressionException
-
Construct a new expression exception.
- ExpressionException(String, int, String) - Constructor for exception org.springframework.expression.ExpressionException
-
Construct a new expression exception.
- ExpressionException(String, String) - Constructor for exception org.springframework.expression.ExpressionException
-
Construct a new expression exception.
- ExpressionException(String, Throwable) - Constructor for exception org.springframework.expression.ExpressionException
-
Construct a new expression exception.
- ExpressionInvocationTargetException - Exception in org.springframework.expression
-
This exception wraps (as cause) a checked exception thrown by some method that SpEL invokes.
- ExpressionInvocationTargetException(int, String) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
- ExpressionInvocationTargetException(int, String, Throwable) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
- ExpressionInvocationTargetException(String) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
- ExpressionInvocationTargetException(String, String) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
- ExpressionInvocationTargetException(String, Throwable) - Constructor for exception org.springframework.expression.ExpressionInvocationTargetException
- ExpressionParser - Interface in org.springframework.expression
-
Parses expression strings into compiled expressions that can be evaluated.
- ExpressionState - Class in org.springframework.expression.spel
-
ExpressionState is for maintaining per-expression-evaluation state: any changes to it are not seen by other expressions, but it gives a place to hold local variables and for component expressions in a compound expression to communicate state.
- ExpressionState(EvaluationContext) - Constructor for class org.springframework.expression.spel.ExpressionState
- ExpressionState(EvaluationContext, SpelParserConfiguration) - Constructor for class org.springframework.expression.spel.ExpressionState
- ExpressionState(EvaluationContext, TypedValue) - Constructor for class org.springframework.expression.spel.ExpressionState
- ExpressionState(EvaluationContext, TypedValue, SpelParserConfiguration) - Constructor for class org.springframework.expression.spel.ExpressionState
- expressionString - Variable in exception org.springframework.expression.ExpressionException
- ExpressionUtils - Class in org.springframework.expression.common
-
Common utility functions that may be used by any Expression Language provider.
- ExpressionUtils() - Constructor for class org.springframework.expression.common.ExpressionUtils
F
- FALSE - Static variable in class org.springframework.expression.spel.support.BooleanTypedValue
-
False.
- filter(List<Method>) - Method in interface org.springframework.expression.MethodFilter
-
Called by the method resolver to allow the SpEL user to organize the list of candidate methods that may be invoked.
- findField(String, Class<?>, boolean) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Find a field of a certain name on a specified class.
- findGetterForProperty(String, Class<?>, boolean) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Find a getter method for the specified property.
- findSetterForProperty(String, Class<?>, boolean) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Find a setter method for the specified property.
- findType(String) - Method in class org.springframework.expression.spel.ExpressionState
- findType(String) - Method in class org.springframework.expression.spel.support.StandardTypeLocator
-
Find a (possibly unqualified) type reference - first using the type name as-is, then trying any registered prefixes if the type name cannot be found.
- findType(String) - Method in interface org.springframework.expression.TypeLocator
-
Find a type by name.
- finish() - Method in class org.springframework.expression.spel.CodeFlow
-
Called after the main expression evaluation method has been generated, this method will call back any registered FieldAdders or ClinitAdders to add any extra information to the class representing the compiled expression.
- FIRST - Static variable in class org.springframework.expression.spel.ast.Selection
-
The first item (
^[]
). - FLAWED_PATTERN - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- FLOAT - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
A
float
. - FloatLiteral - Class in org.springframework.expression.spel.ast
-
Expression language AST node that represents a float literal.
- FloatLiteral(String, int, int, float) - Constructor for class org.springframework.expression.spel.ast.FloatLiteral
- forClass(Class<?>) - Static method in enum class org.springframework.expression.spel.ast.TypeCode
- forInstanceMethodInvocation() - Static method in class org.springframework.expression.spel.support.DataBindingMethodResolver
-
Create a new data-binding method resolver for instance method resolution.
- formatMessage(Object...) - Method in enum class org.springframework.expression.spel.SpelMessage
-
Produce a complete message including the prefix and with the inserts applied to the message.
- forName(String) - Static method in enum class org.springframework.expression.spel.ast.TypeCode
- forPropertyAccessors(PropertyAccessor...) - Static method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Create a
SimpleEvaluationContext
for the specifiedPropertyAccessor
delegates: typically a customPropertyAccessor
specific to a use case (e.g. - forReadOnlyAccess() - Static method in class org.springframework.expression.spel.support.DataBindingPropertyAccessor
-
Create a new data-binding property accessor for read-only operations.
- forReadOnlyDataBinding() - Static method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Create a
SimpleEvaluationContext
for read-only access to public properties viaDataBindingPropertyAccessor
. - forReadWriteAccess() - Static method in class org.springframework.expression.spel.support.DataBindingPropertyAccessor
-
Create a new data-binding property accessor for read-write operations.
- forReadWriteDataBinding() - Static method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Create a
SimpleEvaluationContext
for read-write access to public properties viaDataBindingPropertyAccessor
. - forValue(boolean) - Static method in class org.springframework.expression.spel.support.BooleanTypedValue
- FUNCTION_MUST_BE_STATIC - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- FUNCTION_NOT_DEFINED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- FUNCTION_REFERENCE_CANNOT_BE_INVOKED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- FunctionReference - Class in org.springframework.expression.spel.ast
-
A function reference is of the form "#someFunction(a,b,c)".
- FunctionReference(String, int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.FunctionReference
G
- generateCode(String, MethodVisitor, CodeFlow) - Method in interface org.springframework.expression.spel.CompilablePropertyAccessor
-
Generate the bytecode the performs the access operation into the specified MethodVisitor using context information from the codeflow where necessary.
- generateCode(String, MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.BooleanLiteral
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.CompoundExpression
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.ConstructorReference
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.Elvis
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.FloatLiteral
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.FunctionReference
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.Indexer
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.InlineList
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.IntLiteral
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.LongLiteral
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.MethodReference
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.NullLiteral
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpAnd
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpDivide
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpEQ
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OperatorInstanceof
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OperatorNot
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpGE
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpGT
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpLE
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpLT
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpMinus
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpModulus
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpMultiply
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpNE
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpOr
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.OpPlus
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.RealLiteral
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
-
Generate the bytecode for this node into the supplied visitor.
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.StringLiteral
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.Ternary
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.TypeReference
- generateCode(MethodVisitor, CodeFlow) - Method in class org.springframework.expression.spel.ast.VariableReference
- generateCode(MethodVisitor, CodeFlow) - Method in interface org.springframework.expression.spel.CodeFlow.ClinitAdder
- generateCodeForArgument(MethodVisitor, CodeFlow, SpelNodeImpl, String) - Static method in class org.springframework.expression.spel.ast.SpelNodeImpl
-
Ask an argument to generate its bytecode and then follow it up with any boxing/unboxing/checkcasting to ensure it matches the expected parameter descriptor.
- generateCodeForArguments(MethodVisitor, CodeFlow, Member, SpelNodeImpl[]) - Static method in class org.springframework.expression.spel.ast.SpelNodeImpl
-
Generate code that handles building the argument values for the specified method.
- generateComparisonCode(MethodVisitor, CodeFlow, int, int) - Method in class org.springframework.expression.spel.ast.Operator
-
Numeric comparison operators share very similar generated code, only differing in two comparison instructions.
- generateField(ClassWriter, CodeFlow) - Method in interface org.springframework.expression.spel.CodeFlow.FieldAdder
- getActiveContextObject() - Method in class org.springframework.expression.spel.ExpressionState
-
The active context object is what unqualified references to properties/etc are resolved against.
- getAST() - Method in class org.springframework.expression.spel.standard.SpelExpression
-
Return the Abstract Syntax Tree for the expression.
- getBeanResolver() - Method in interface org.springframework.expression.EvaluationContext
-
Return a bean resolver that can look up beans by name.
- getBeanResolver() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
SimpleEvaluationContext
does not support the use of bean references. - getBeanResolver() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getCause() - Method in exception org.springframework.expression.spel.InternalParseException
- getChild(int) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getChild(int) - Method in interface org.springframework.expression.spel.SpelNode
-
Helper method that returns a SpelNode rather than an Antlr Tree node.
- getChildCount() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getChildCount() - Method in interface org.springframework.expression.spel.SpelNode
-
Return the number of children under this node.
- getClassName() - Method in class org.springframework.expression.spel.CodeFlow
- getCompiler(ClassLoader) - Static method in class org.springframework.expression.spel.standard.SpelCompiler
-
Factory method for compiler instances.
- getCompilerClassLoader() - Method in class org.springframework.expression.spel.SpelParserConfiguration
-
Return the ClassLoader to use as the basis for expression compilation.
- getCompilerMode() - Method in class org.springframework.expression.spel.SpelParserConfiguration
-
Return the compiler mode for parsers using this configuration object.
- getConfiguration() - Method in class org.springframework.expression.spel.ExpressionState
- getConstantValue() - Method in class org.springframework.expression.spel.ast.InlineList
- getConstantValue() - Method in class org.springframework.expression.spel.ast.InlineMap
- getConstructor() - Method in class org.springframework.expression.spel.support.ReflectiveConstructorExecutor
- getConstructorResolvers() - Method in interface org.springframework.expression.EvaluationContext
-
Return a list of resolvers that will be asked in turn to locate a constructor.
- getConstructorResolvers() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Return an empty list, always, since this context does not support the use of type references.
- getConstructorResolvers() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getEndPosition() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getEndPosition() - Method in interface org.springframework.expression.spel.SpelNode
-
Return the end position of this AST node in the expression string.
- getEvaluationContext() - Method in class org.springframework.expression.spel.ExpressionState
- getEvaluationContext() - Method in class org.springframework.expression.spel.standard.SpelExpression
-
Return the default evaluation context that will be used if none is supplied on an evaluation call.
- getExitDescriptor() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getExpressionPrefix() - Method in class org.springframework.expression.common.TemplateParserContext
- getExpressionPrefix() - Method in interface org.springframework.expression.ParserContext
-
For template expressions, returns the prefix that identifies the start of an expression block within a string.
- getExpressions() - Method in class org.springframework.expression.common.CompositeStringExpression
- getExpressionString() - Method in class org.springframework.expression.common.CompositeStringExpression
- getExpressionString() - Method in class org.springframework.expression.common.LiteralExpression
- getExpressionString() - Method in interface org.springframework.expression.Expression
-
Return the original string used to create this expression (unmodified).
- getExpressionString() - Method in exception org.springframework.expression.ExpressionException
-
Return the expression string.
- getExpressionString() - Method in class org.springframework.expression.spel.standard.SpelExpression
- getExpressionSuffix() - Method in class org.springframework.expression.common.TemplateParserContext
- getExpressionSuffix() - Method in interface org.springframework.expression.ParserContext
-
For template expressions, return the prefix that identifies the end of an expression block within a string.
- getImportPrefixes() - Method in class org.springframework.expression.spel.support.StandardTypeLocator
-
Return a list of all the import prefixes registered with this StandardTypeLocator.
- getInserts() - Method in exception org.springframework.expression.spel.SpelEvaluationException
-
Return the message inserts.
- getInserts() - Method in exception org.springframework.expression.spel.SpelParseException
-
Return the message inserts.
- getIntLiteral(String, int, int, int) - Static method in class org.springframework.expression.spel.ast.Literal
-
Process the string form of a number, using the specified base if supplied and return an appropriate literal to hold it.
- getLeftOperand() - Method in class org.springframework.expression.spel.ast.Operator
- getLiteralValue() - Method in class org.springframework.expression.spel.ast.BooleanLiteral
- getLiteralValue() - Method in class org.springframework.expression.spel.ast.FloatLiteral
- getLiteralValue() - Method in class org.springframework.expression.spel.ast.IntLiteral
- getLiteralValue() - Method in class org.springframework.expression.spel.ast.Literal
- getLiteralValue() - Method in class org.springframework.expression.spel.ast.LongLiteral
- getLiteralValue() - Method in class org.springframework.expression.spel.ast.NullLiteral
- getLiteralValue() - Method in class org.springframework.expression.spel.ast.RealLiteral
- getLiteralValue() - Method in class org.springframework.expression.spel.ast.StringLiteral
- getLongLiteral(String, int, int, int) - Static method in class org.springframework.expression.spel.ast.Literal
- getMaximumAutoGrowSize() - Method in class org.springframework.expression.spel.SpelParserConfiguration
-
Return the maximum size that a collection can auto grow.
- getMaximumExpressionLength() - Method in class org.springframework.expression.spel.SpelParserConfiguration
-
Return the maximum number of characters that a SpEL expression can contain.
- getMessage() - Method in exception org.springframework.expression.ExpressionException
-
Return the exception message.
- getMessageCode() - Method in exception org.springframework.expression.spel.SpelEvaluationException
-
Return the message code.
- getMessageCode() - Method in exception org.springframework.expression.spel.SpelParseException
-
Return the message code.
- getMethod() - Method in class org.springframework.expression.spel.support.ReflectiveMethodExecutor
-
Return the original method that this executor has been configured for.
- getMethodResolvers() - Method in interface org.springframework.expression.EvaluationContext
-
Return a list of resolvers that will be asked in turn to locate a method.
- getMethodResolvers() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Return the specified
MethodResolver
delegates, if any. - getMethodResolvers() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getMethods(Class<?>) - Method in class org.springframework.expression.spel.support.ReflectiveMethodResolver
-
Return the set of methods for this type.
- getName() - Method in class org.springframework.expression.spel.ast.MethodReference
- getName() - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- getObjectClass(Object) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getObjectClass(Object) - Method in interface org.springframework.expression.spel.SpelNode
-
Determine the class of the object passed in, unless it is already a class object.
- getOperatorName() - Method in class org.springframework.expression.spel.ast.Operator
- getOperatorOverloader() - Method in interface org.springframework.expression.EvaluationContext
-
Return an operator overloader that may support mathematical operations between more than the standard set of types.
- getOperatorOverloader() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Return an instance of
StandardOperatorOverloader
. - getOperatorOverloader() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getOriginalValue() - Method in class org.springframework.expression.spel.ast.Literal
- getPosition() - Method in exception org.springframework.expression.ExpressionException
-
Return the position in the expression string where the problem occurred.
- getPropertyAccessors() - Method in interface org.springframework.expression.EvaluationContext
-
Return a list of accessors that will be asked in turn to read/write a property.
- getPropertyAccessors() - Method in class org.springframework.expression.spel.ExpressionState
- getPropertyAccessors() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Return the specified
PropertyAccessor
delegates, if any. - getPropertyAccessors() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getPropertyAccessorsToTry(Class<?>, List<PropertyAccessor>) - Static method in class org.springframework.expression.spel.ast.AstUtils
-
Determines the set of property resolvers that should be used to try and access a property on the specified target type.
- getPropertyMethodSuffix(String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Return the method suffix for a given property name.
- getPropertyMethodSuffixes(String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Return the method suffixes for a given property name.
- getPropertyType() - Method in interface org.springframework.expression.spel.CompilablePropertyAccessor
-
Return the type of the accessed property - may only be known once an access has occurred.
- getPropertyType() - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- getPublicDeclaringClass() - Method in class org.springframework.expression.spel.support.ReflectiveMethodExecutor
-
Find the first public class in the methods declaring class hierarchy that declares this method.
- getRealLiteral(String, int, int, boolean) - Static method in class org.springframework.expression.spel.ast.Literal
- getRightOperand() - Method in class org.springframework.expression.spel.ast.OpDec
- getRightOperand() - Method in class org.springframework.expression.spel.ast.Operator
- getRightOperand() - Method in class org.springframework.expression.spel.ast.OpInc
- getRightOperand() - Method in class org.springframework.expression.spel.ast.OpMinus
- getRightOperand() - Method in class org.springframework.expression.spel.ast.OpPlus
- getRootContextObject() - Method in class org.springframework.expression.spel.ExpressionState
- getRootObject() - Method in interface org.springframework.expression.EvaluationContext
-
Return the default root context object against which unqualified properties/methods/etc should be resolved.
- getRootObject() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Return the specified root object, if any.
- getRootObject() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getScopeRootContextObject() - Method in class org.springframework.expression.spel.ExpressionState
- getSimpleMessage() - Method in exception org.springframework.expression.ExpressionException
-
Return the exception simple message without including the expression that caused the failure.
- getSpecificTargetClasses() - Method in interface org.springframework.expression.PropertyAccessor
-
Return an array of classes for which this resolver should be called.
- getSpecificTargetClasses() - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Returns
null
which means this is a general purpose accessor. - getSpecificTargetClasses() - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- getStartPosition() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getStartPosition() - Method in interface org.springframework.expression.spel.SpelNode
-
Return the start position of this AST node in the expression string.
- getType() - Method in enum class org.springframework.expression.spel.ast.TypeCode
- getTypeComparator() - Method in interface org.springframework.expression.EvaluationContext
-
Return a type comparator for comparing pairs of objects for equality.
- getTypeComparator() - Method in class org.springframework.expression.spel.ExpressionState
- getTypeComparator() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
Return an instance of
StandardTypeComparator
. - getTypeComparator() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getTypeConverter() - Method in interface org.springframework.expression.EvaluationContext
-
Return a type converter that can convert (or coerce) a value from one type to another.
- getTypeConverter() - Method in class org.springframework.expression.spel.ExpressionState
- getTypeConverter() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
The configured
TypeConverter
. - getTypeConverter() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getTypeDescriptor() - Method in class org.springframework.expression.TypedValue
- getTypeDifferenceWeight(List<TypeDescriptor>, List<TypeDescriptor>) - Static method in class org.springframework.expression.spel.support.ReflectionHelper
-
Based on
MethodInvoker.getTypeDifferenceWeight(Class[], Object[])
but operates on TypeDescriptors. - getTypedValue(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getTypedValue(ExpressionState) - Method in interface org.springframework.expression.spel.SpelNode
-
Evaluate the expression node in the context of the supplied expression state and return the typed value.
- getTypeLocator() - Method in interface org.springframework.expression.EvaluationContext
-
Return a type locator that can be used to find types, either by short or fully qualified name.
- getTypeLocator() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
-
SimpleEvaluationContext
does not support use of type references. - getTypeLocator() - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- getValue() - Method in class org.springframework.expression.common.CompositeStringExpression
- getValue() - Method in class org.springframework.expression.common.LiteralExpression
- getValue() - Method in interface org.springframework.expression.Expression
-
Evaluate this expression in the default standard context.
- getValue() - Method in interface org.springframework.expression.spel.ast.ValueRef
-
Returns the value this ValueRef points to, it should not require expression component re-evaluation.
- getValue() - Method in class org.springframework.expression.spel.ast.ValueRef.NullValueRef
- getValue() - Method in class org.springframework.expression.spel.ast.ValueRef.TypedValueHolderValueRef
- getValue() - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValue() - Method in class org.springframework.expression.TypedValue
- getValue(Class<T>) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValue(Class<T>) - Method in class org.springframework.expression.common.LiteralExpression
- getValue(Class<T>) - Method in interface org.springframework.expression.Expression
-
Evaluate the expression in the default context.
- getValue(Class<T>) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValue(Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValue(Object) - Method in class org.springframework.expression.common.LiteralExpression
- getValue(Object) - Method in interface org.springframework.expression.Expression
-
Evaluate this expression against the specified root object.
- getValue(Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValue(Object, Class<T>) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValue(Object, Class<T>) - Method in class org.springframework.expression.common.LiteralExpression
- getValue(Object, Class<T>) - Method in interface org.springframework.expression.Expression
-
Evaluate the expression in the default context against the specified root object.
- getValue(Object, Class<T>) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValue(Object, EvaluationContext) - Method in class org.springframework.expression.spel.CompiledExpression
-
Subclasses of CompiledExpression generated by SpelCompiler will provide an implementation of this method.
- getValue(EvaluationContext) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValue(EvaluationContext) - Method in class org.springframework.expression.common.LiteralExpression
- getValue(EvaluationContext) - Method in interface org.springframework.expression.Expression
-
Evaluate this expression in the provided context and return the result of evaluation.
- getValue(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValue(EvaluationContext, Class<T>) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValue(EvaluationContext, Class<T>) - Method in class org.springframework.expression.common.LiteralExpression
- getValue(EvaluationContext, Class<T>) - Method in interface org.springframework.expression.Expression
-
Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.
- getValue(EvaluationContext, Class<T>) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValue(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValue(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
- getValue(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
-
Evaluate this expression in the provided context and return the result of evaluation, but use the supplied root context as an override for any default root object specified in the context.
- getValue(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValue(EvaluationContext, Object, Class<T>) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValue(EvaluationContext, Object, Class<T>) - Method in class org.springframework.expression.common.LiteralExpression
- getValue(EvaluationContext, Object, Class<T>) - Method in interface org.springframework.expression.Expression
-
Evaluate the expression in a specified context which can resolve references to properties, methods, types, etc.
- getValue(EvaluationContext, Object, Class<T>) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValue(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getValue(ExpressionState) - Method in interface org.springframework.expression.spel.SpelNode
-
Evaluate the expression node in the context of the supplied expression state and return the value.
- getValue(ExpressionState, Class<T>) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Assign
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.BeanReference
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.CompoundExpression
-
Evaluates a compound expression.
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.ConstructorReference
-
Implements getValue() - delegating to the code for building an array or a simple type.
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Elvis
-
Evaluate the condition and if not null, return it.
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.FunctionReference
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Identifier
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Indexer
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.InlineList
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.InlineMap
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Literal
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.MethodReference
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpAnd
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpDec
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpDivide
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpEQ
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorBetween
-
Returns a boolean based on whether a value is in the range expressed.
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorInstanceof
-
Compare the left operand to see it is an instance of the type specified as the right operand.
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorMatches
-
Check the first operand matches the regex specified as the second operand.
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorNot
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OperatorPower
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpGE
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpGT
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpInc
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpLE
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpLT
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpMinus
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpModulus
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpMultiply
-
Implements the
multiply
operator directly here for certain types of supported operands and otherwise delegates to any registered overloader for types not supported here. - getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpNE
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpOr
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.OpPlus
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Projection
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.QualifiedIdentifier
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Selection
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.Ternary
-
Evaluate the condition and if true evaluate the first alternative, otherwise evaluate the second alternative.
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.TypeReference
- getValueInternal(ExpressionState) - Method in class org.springframework.expression.spel.ast.VariableReference
- getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.CompoundExpression
- getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.Indexer
- getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.MethodReference
- getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.Projection
- getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.Selection
- getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- getValueRef(ExpressionState) - Method in class org.springframework.expression.spel.ast.VariableReference
- getValueType() - Method in class org.springframework.expression.common.CompositeStringExpression
- getValueType() - Method in class org.springframework.expression.common.LiteralExpression
- getValueType() - Method in interface org.springframework.expression.Expression
-
Return the most general type that can be passed to a
Expression.setValue(java.lang.Object, java.lang.Object)
method using the default context. - getValueType() - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValueType(Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValueType(Object) - Method in class org.springframework.expression.common.LiteralExpression
- getValueType(Object) - Method in interface org.springframework.expression.Expression
-
Return the most general type that can be passed to the
Expression.setValue(Object, Object)
method using the default context. - getValueType(Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValueType(EvaluationContext) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValueType(EvaluationContext) - Method in class org.springframework.expression.common.LiteralExpression
- getValueType(EvaluationContext) - Method in interface org.springframework.expression.Expression
-
Return the most general type that can be passed to the
Expression.setValue(EvaluationContext, Object)
method for the given context. - getValueType(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValueType(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValueType(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
- getValueType(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
-
Return the most general type that can be passed to the
Expression.setValue(EvaluationContext, Object, Object)
method for the given context. - getValueType(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValueTypeDescriptor() - Method in class org.springframework.expression.common.CompositeStringExpression
- getValueTypeDescriptor() - Method in class org.springframework.expression.common.LiteralExpression
- getValueTypeDescriptor() - Method in interface org.springframework.expression.Expression
-
Return the most general type that can be passed to a
Expression.setValue(java.lang.Object, java.lang.Object)
method using the default context. - getValueTypeDescriptor() - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValueTypeDescriptor(Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValueTypeDescriptor(Object) - Method in class org.springframework.expression.common.LiteralExpression
- getValueTypeDescriptor(Object) - Method in interface org.springframework.expression.Expression
-
Return the most general type that can be passed to the
Expression.setValue(Object, Object)
method using the default context. - getValueTypeDescriptor(Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValueTypeDescriptor(EvaluationContext) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValueTypeDescriptor(EvaluationContext) - Method in class org.springframework.expression.common.LiteralExpression
- getValueTypeDescriptor(EvaluationContext) - Method in interface org.springframework.expression.Expression
-
Return the most general type that can be passed to the
Expression.setValue(EvaluationContext, Object)
method for the given context. - getValueTypeDescriptor(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
- getValueTypeDescriptor(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- getValueTypeDescriptor(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
- getValueTypeDescriptor(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
-
Return the most general type that can be passed to the
Expression.setValue(EvaluationContext, Object, Object)
method for the given context. - getValueTypeDescriptor(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
H
- hashCode() - Method in class org.springframework.expression.TypedValue
I
- Identifier - Class in org.springframework.expression.spel.ast
-
An 'identifier'
SpelNode
. - Identifier(String, int, int) - Constructor for class org.springframework.expression.spel.ast.Identifier
- IMMEDIATE - Enum constant in enum class org.springframework.expression.spel.SpelCompilerMode
-
In immediate mode, expressions are compiled as soon as possible (usually after 1 interpreted run).
- INCORRECT_ELEMENT_TYPE_FOR_ARRAY - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- INCORRECT_NUMBER_OF_ARGUMENTS_TO_FUNCTION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- Indexer - Class in org.springframework.expression.spel.ast
-
An Indexer can index into some proceeding structure to access a particular piece of it.
- Indexer(int, int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.Indexer
- INDEXING_NOT_SUPPORTED_FOR_TYPE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- INFO - Enum constant in enum class org.springframework.expression.spel.SpelMessage.Kind
- INITIALIZER_LENGTH_INCORRECT - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- InlineList - Class in org.springframework.expression.spel.ast
-
Represent a list in an expression, e.g.
- InlineList(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.InlineList
- InlineMap - Class in org.springframework.expression.spel.ast
-
Represent a map in an expression, e.g.
- InlineMap(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.InlineMap
- insertAnyNecessaryTypeConversionBytecodes(MethodVisitor, char, String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Insert any necessary numeric conversion bytecodes based upon what is on the stack and the desired target type.
- insertArrayStore(MethodVisitor, String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Produce appropriate bytecode to store a stack item in an array.
- insertBoxIfNecessary(MethodVisitor, char) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine the appropriate boxing instruction for a specific type (if it needs boxing) and insert the instruction into the supplied visitor.
- insertBoxIfNecessary(MethodVisitor, String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine the appropriate boxing instruction for a specific type (if it needs boxing) and insert the instruction into the supplied visitor.
- insertCheckCast(MethodVisitor, String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Insert the appropriate CHECKCAST instruction for the supplied descriptor.
- insertNewArrayCode(MethodVisitor, int, String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Produce the correct bytecode to build an array.
- insertNumericUnboxOrPrimitiveTypeCoercion(MethodVisitor, String, char) - Static method in class org.springframework.expression.spel.CodeFlow
-
For use in mathematical operators, handles converting from a (possibly boxed) number on the stack to a primitive numeric type.
- insertOptimalLoad(MethodVisitor, int) - Static method in class org.springframework.expression.spel.CodeFlow
-
Create the optimal instruction for loading a number on the stack.
- insertUnboxInsns(MethodVisitor, char, String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Insert any necessary cast and value call to convert from a boxed type to a primitive value.
- insertUnboxNumberInsns(MethodVisitor, char, String) - Static method in class org.springframework.expression.spel.CodeFlow
-
For numbers, use the appropriate method on the number to convert it to the primitive type requested.
- INSTANCEOF_OPERATOR_NEEDS_CLASS_OPERAND - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- INT - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
An
int
. - InternalParseException - Exception in org.springframework.expression.spel
-
Wraps a real parse exception.
- InternalParseException(SpelParseException) - Constructor for exception org.springframework.expression.spel.InternalParseException
- IntLiteral - Class in org.springframework.expression.spel.ast
-
Expression language AST node that represents an integer literal.
- IntLiteral(String, int, int, int) - Constructor for class org.springframework.expression.spel.ast.IntLiteral
- INVALID_BEAN_REFERENCE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- INVALID_FIRST_OPERAND_FOR_MATCHES_OPERATOR - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- INVALID_PATTERN - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- INVALID_SECOND_OPERAND_FOR_MATCHES_OPERATOR - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- INVALID_TYPE_FOR_SELECTION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- isAutoGrowCollections() - Method in class org.springframework.expression.spel.SpelParserConfiguration
-
Return
true
if collections should be automatically grown. - isAutoGrowNullReferences() - Method in class org.springframework.expression.spel.SpelParserConfiguration
-
Return
true
ifnull
references should be automatically grown. - isBooleanCompatible(String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine whether the descriptor is for a boolean primitive or boolean reference type.
- isCandidateForInvocation(Method, Class<?>) - Method in class org.springframework.expression.spel.support.DataBindingMethodResolver
- isCandidateForInvocation(Method, Class<?>) - Method in class org.springframework.expression.spel.support.ReflectiveMethodResolver
-
Determine whether the given
Method
is a candidate for method resolution on an instance of the given target class. - isCandidateForProperty(Method, Class<?>) - Method in class org.springframework.expression.spel.support.DataBindingPropertyAccessor
- isCandidateForProperty(Method, Class<?>) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Determine whether the given
Method
is a candidate for property access on an instance of the given target class. - isCompilable() - Method in class org.springframework.expression.spel.ast.BooleanLiteral
- isCompilable() - Method in class org.springframework.expression.spel.ast.CompoundExpression
- isCompilable() - Method in class org.springframework.expression.spel.ast.ConstructorReference
- isCompilable() - Method in class org.springframework.expression.spel.ast.Elvis
- isCompilable() - Method in class org.springframework.expression.spel.ast.FloatLiteral
- isCompilable() - Method in class org.springframework.expression.spel.ast.FunctionReference
- isCompilable() - Method in class org.springframework.expression.spel.ast.Indexer
- isCompilable() - Method in class org.springframework.expression.spel.ast.InlineList
- isCompilable() - Method in class org.springframework.expression.spel.ast.IntLiteral
- isCompilable() - Method in class org.springframework.expression.spel.ast.LongLiteral
- isCompilable() - Method in class org.springframework.expression.spel.ast.MethodReference
-
A method reference is compilable if it has been resolved to a reflectively accessible method and the child nodes (arguments to the method) are also compilable.
- isCompilable() - Method in class org.springframework.expression.spel.ast.NullLiteral
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpAnd
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpDivide
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpEQ
- isCompilable() - Method in class org.springframework.expression.spel.ast.OperatorInstanceof
- isCompilable() - Method in class org.springframework.expression.spel.ast.OperatorNot
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpGE
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpGT
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpLE
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpLT
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpMinus
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpModulus
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpMultiply
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpNE
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpOr
- isCompilable() - Method in class org.springframework.expression.spel.ast.OpPlus
- isCompilable() - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- isCompilable() - Method in class org.springframework.expression.spel.ast.RealLiteral
- isCompilable() - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
-
Check whether a node can be compiled to bytecode.
- isCompilable() - Method in class org.springframework.expression.spel.ast.StringLiteral
- isCompilable() - Method in class org.springframework.expression.spel.ast.Ternary
- isCompilable() - Method in class org.springframework.expression.spel.ast.TypeReference
- isCompilable() - Method in class org.springframework.expression.spel.ast.VariableReference
- isCompilable() - Method in interface org.springframework.expression.spel.CompilablePropertyAccessor
-
Return
true
if this property accessor is currently suitable for compilation. - isCompilable() - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- isCompilableOperatorUsingNumerics() - Method in class org.springframework.expression.spel.ast.Operator
- isConstant() - Method in class org.springframework.expression.spel.ast.InlineList
-
Return whether this list is a constant value.
- isConstant() - Method in class org.springframework.expression.spel.ast.InlineMap
-
Return whether this list is a constant value.
- isIntegerForNumericOp(Number) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine whether the given number is to be considered as an integer for the purposes of a numeric operation at the bytecode level.
- isNullSafe() - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- isPrimitive(String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine whether the descriptor is for a primitive type.
- isPrimitiveArray(String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine whether the descriptor is for a primitive array (e.g.
- isPrimitiveOrUnboxableSupportedNumber(String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine if the supplied descriptor is for a supported number.
- isPrimitiveOrUnboxableSupportedNumberOrBoolean(String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine if the supplied descriptor is for a supported number type or boolean.
- isReferenceTypeArray(String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Return if the supplied array type has a core component reference type.
- isTemplate() - Method in class org.springframework.expression.common.TemplateParserContext
- isTemplate() - Method in interface org.springframework.expression.ParserContext
-
Whether the expression being parsed is a template.
- isWritable() - Method in interface org.springframework.expression.spel.ast.ValueRef
-
Indicates whether calling setValue(Object) is supported.
- isWritable() - Method in class org.springframework.expression.spel.ast.ValueRef.NullValueRef
- isWritable() - Method in class org.springframework.expression.spel.ast.ValueRef.TypedValueHolderValueRef
- isWritable(Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- isWritable(Object) - Method in class org.springframework.expression.common.LiteralExpression
- isWritable(Object) - Method in interface org.springframework.expression.Expression
-
Determine if an expression can be written to, i.e.
- isWritable(Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- isWritable(EvaluationContext) - Method in class org.springframework.expression.common.CompositeStringExpression
- isWritable(EvaluationContext) - Method in class org.springframework.expression.common.LiteralExpression
- isWritable(EvaluationContext) - Method in interface org.springframework.expression.Expression
-
Determine if an expression can be written to, i.e.
- isWritable(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
- isWritable(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- isWritable(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
- isWritable(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
-
Determine if an expression can be written to, i.e.
- isWritable(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.CompoundExpression
- isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.Indexer
- isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- isWritable(ExpressionState) - Method in class org.springframework.expression.spel.ast.VariableReference
- isWritable(ExpressionState) - Method in interface org.springframework.expression.spel.SpelNode
-
Determine if this expression node will support a setValue() call.
- isWritableProperty(String, TypedValue, EvaluationContext) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
L
- LAST - Static variable in class org.springframework.expression.spel.ast.Selection
-
The last item (
$[]
). - lastDescriptor() - Method in class org.springframework.expression.spel.CodeFlow
-
Return the descriptor for the item currently on top of the stack (in the current scope).
- LEFT_OPERAND_PROBLEM - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- leftActualDescriptor - Variable in class org.springframework.expression.spel.ast.Operator
- Literal - Class in org.springframework.expression.spel.ast
-
Common superclass for nodes representing literals (boolean, string, number, etc).
- Literal(String, int, int) - Constructor for class org.springframework.expression.spel.ast.Literal
- LiteralExpression - Class in org.springframework.expression.common
-
A very simple hardcoded implementation of the Expression interface that represents a string literal.
- LiteralExpression(String) - Constructor for class org.springframework.expression.common.LiteralExpression
- loadEvaluationContext(MethodVisitor) - Method in class org.springframework.expression.spel.CodeFlow
-
Push the bytecode to load the EvaluationContext (the second parameter passed to the compiled expression method).
- loadTarget(MethodVisitor) - Method in class org.springframework.expression.spel.CodeFlow
-
Push the byte code to load the target (i.e.
- LONG - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
A
long
. - LongLiteral - Class in org.springframework.expression.spel.ast
-
Expression language AST node that represents a long integer literal.
- LongLiteral(String, int, int, long) - Constructor for class org.springframework.expression.spel.ast.LongLiteral
- lookupLocalVariable(String) - Method in class org.springframework.expression.spel.ExpressionState
- lookupVariable(String) - Method in interface org.springframework.expression.EvaluationContext
-
Look up a named variable within this evaluation context.
- lookupVariable(String) - Method in class org.springframework.expression.spel.ExpressionState
- lookupVariable(String) - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
- lookupVariable(String) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
M
- MAX_ARRAY_ELEMENTS_THRESHOLD_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_CONCATENATED_STRING_LENGTH_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_EXPRESSION_LENGTH_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_REGEX_LENGTH_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MAX_REPEATED_TEXT_SIZE_EXCEEDED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- member - Variable in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
-
The member being accessed.
- METHOD_CALL_ON_NULL_OBJECT_NOT_ALLOWED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- METHOD_NOT_FOUND - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MethodExecutor - Interface in org.springframework.expression
-
MethodExecutors are built by the resolvers and can be cached by the infrastructure to repeat an operation quickly without going back to the resolvers.
- MethodFilter - Interface in org.springframework.expression
-
MethodFilter instances allow SpEL users to fine tune the behaviour of the method resolution process.
- MethodReference - Class in org.springframework.expression.spel.ast
-
Expression language AST node that represents a method reference.
- MethodReference(boolean, String, int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.MethodReference
- MethodResolver - Interface in org.springframework.expression
-
A method resolver attempts to locate a method and returns a command executor that can be used to invoke that method.
- MISSING_ARRAY_DIMENSION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MISSING_CHARACTER - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MISSING_CONSTRUCTOR_ARGS - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MISSING_LEADING_ZERO_FOR_NUMBER - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MISSING_SELECTION_EXPRESSION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MIXED - Enum constant in enum class org.springframework.expression.spel.SpelCompilerMode
-
In mixed mode, expression evaluation silently switches between interpreted and compiled over time.
- MODULUS - Enum constant in enum class org.springframework.expression.Operation
-
Modulus operation.
- MORE_INPUT - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MULTIDIM_ARRAY_INITIALIZER_NOT_SUPPORTED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MULTIPLE_POSSIBLE_METHODS - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- MULTIPLY - Enum constant in enum class org.springframework.expression.Operation
-
Multiply operation.
N
- nextChildIs(Class<?>...) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
-
Return
true
if the next child is one of the specified classes. - nextFieldId() - Method in class org.springframework.expression.spel.CodeFlow
- nextFreeVariableId() - Method in class org.springframework.expression.spel.CodeFlow
- NO_BEAN_RESOLVER_REGISTERED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NON_TERMINATING_DOUBLE_QUOTED_STRING - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NON_TERMINATING_QUOTED_STRING - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NOT_A_LONG - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NOT_A_REAL - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NOT_AN_INTEGER - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NOT_ASSIGNABLE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NOT_COMPARABLE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NOT_EXPECTED_TOKEN - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- NULL - Static variable in class org.springframework.expression.TypedValue
-
TypedValue
fornull
. - NullLiteral - Class in org.springframework.expression.spel.ast
-
Expression language AST node that represents null.
- NullLiteral(int, int) - Constructor for class org.springframework.expression.spel.ast.NullLiteral
- NullValueRef() - Constructor for class org.springframework.expression.spel.ast.ValueRef.NullValueRef
O
- OBJECT - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
An
Object
. - OFF - Enum constant in enum class org.springframework.expression.spel.SpelCompilerMode
-
The compiler is switched off; this is the default.
- OOD - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- OpAnd - Class in org.springframework.expression.spel.ast
-
Represents the boolean AND operation.
- OpAnd(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpAnd
- OpDec - Class in org.springframework.expression.spel.ast
-
Decrement operator.
- OpDec(int, int, boolean, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpDec
- OpDivide - Class in org.springframework.expression.spel.ast
-
Implements division operator.
- OpDivide(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpDivide
- OpEQ - Class in org.springframework.expression.spel.ast
-
Implements the equality operator.
- OpEQ(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpEQ
- OPERAND_NOT_DECREMENTABLE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- OPERAND_NOT_INCREMENTABLE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- operate(Operation, Object, Object) - Method in interface org.springframework.expression.OperatorOverloader
-
Execute the specified operation on two operands, returning a result.
- operate(Operation, Object, Object) - Method in class org.springframework.expression.spel.ExpressionState
- operate(Operation, Object, Object) - Method in class org.springframework.expression.spel.support.StandardOperatorOverloader
- Operation - Enum Class in org.springframework.expression
-
Supported operations that an
OperatorOverloader
can implement for any pair of operands. - Operator - Class in org.springframework.expression.spel.ast
-
Common supertype for operators that operate on either one or two operands.
- Operator(String, int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.Operator
- OPERATOR_NOT_SUPPORTED_BETWEEN_TYPES - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- Operator.DescriptorComparison - Class in org.springframework.expression.spel.ast
-
A descriptor comparison encapsulates the result of comparing descriptor for two operands and describes at what level they are compatible.
- OperatorBetween - Class in org.springframework.expression.spel.ast
-
Represents the between operator.
- OperatorBetween(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorBetween
- OperatorInstanceof - Class in org.springframework.expression.spel.ast
-
The operator 'instanceof' checks if an object is of the class specified in the right-hand operand, in the same way that
instanceof
does in Java. - OperatorInstanceof(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorInstanceof
- OperatorMatches - Class in org.springframework.expression.spel.ast
-
Implements the matches operator.
- OperatorMatches(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorMatches
-
Deprecated.
- OperatorMatches(ConcurrentMap<String, Pattern>, int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorMatches
-
Create a new
OperatorMatches
instance with a shared pattern cache. - OperatorNot - Class in org.springframework.expression.spel.ast
-
Represents a NOT operation.
- OperatorNot(int, int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.OperatorNot
- OperatorOverloader - Interface in org.springframework.expression
-
By default the mathematical operators
Operation
support simple types like numbers. - OperatorPower - Class in org.springframework.expression.spel.ast
-
The power operator.
- OperatorPower(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OperatorPower
- OpGE - Class in org.springframework.expression.spel.ast
-
Implements greater-than-or-equal operator.
- OpGE(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpGE
- OpGT - Class in org.springframework.expression.spel.ast
-
Implements the greater-than operator.
- OpGT(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpGT
- OpInc - Class in org.springframework.expression.spel.ast
-
Increment operator.
- OpInc(int, int, boolean, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpInc
- OpLE - Class in org.springframework.expression.spel.ast
-
Implements the less-than-or-equal operator.
- OpLE(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpLE
- OpLT - Class in org.springframework.expression.spel.ast
-
Implements the less-than operator.
- OpLT(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpLT
- OpMinus - Class in org.springframework.expression.spel.ast
-
The minus operator supports: subtraction of numbers subtraction of an int from a string of one character (effectively decreasing that character), so 'd'-3='a'
- OpMinus(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpMinus
- OpModulus - Class in org.springframework.expression.spel.ast
-
Implements the modulus operator.
- OpModulus(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpModulus
- OpMultiply - Class in org.springframework.expression.spel.ast
-
Implements the
multiply
operator. - OpMultiply(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpMultiply
- OpNE - Class in org.springframework.expression.spel.ast
-
Implements the not-equal operator.
- OpNE(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpNE
- OpOr - Class in org.springframework.expression.spel.ast
-
Represents the boolean OR operation.
- OpOr(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpOr
- OpPlus - Class in org.springframework.expression.spel.ast
-
The plus operator will: add numbers concatenate strings
- OpPlus(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.OpPlus
- org.springframework.expression - package org.springframework.expression
-
Core abstractions behind the Spring Expression Language.
- org.springframework.expression.common - package org.springframework.expression.common
-
Common utility classes behind the Spring Expression Language.
- org.springframework.expression.spel - package org.springframework.expression.spel
-
SpEL's central implementation package.
- org.springframework.expression.spel.ast - package org.springframework.expression.spel.ast
-
SpEL's abstract syntax tree.
- org.springframework.expression.spel.standard - package org.springframework.expression.spel.standard
-
SpEL's standard parser implementation.
- org.springframework.expression.spel.support - package org.springframework.expression.spel.support
-
SpEL's default implementations for various core abstractions.
- overridesOperation(Operation, Object, Object) - Method in interface org.springframework.expression.OperatorOverloader
-
Return true if the operator overloader supports the specified operation between the two operands and so should be invoked to handle it.
- overridesOperation(Operation, Object, Object) - Method in class org.springframework.expression.spel.support.StandardOperatorOverloader
P
- ParseException - Exception in org.springframework.expression
-
Represent an exception that occurs during expression parsing.
- ParseException(int, String) - Constructor for exception org.springframework.expression.ParseException
-
Create a new expression parsing exception.
- ParseException(int, String, Throwable) - Constructor for exception org.springframework.expression.ParseException
-
Create a new expression parsing exception.
- ParseException(String, int, String) - Constructor for exception org.springframework.expression.ParseException
-
Create a new expression parsing exception.
- parseExpression(String) - Method in class org.springframework.expression.common.TemplateAwareExpressionParser
- parseExpression(String) - Method in interface org.springframework.expression.ExpressionParser
-
Parse the expression string and return an Expression object you can use for repeated evaluation.
- parseExpression(String, ParserContext) - Method in class org.springframework.expression.common.TemplateAwareExpressionParser
- parseExpression(String, ParserContext) - Method in interface org.springframework.expression.ExpressionParser
-
Parse the expression string and return an Expression object you can use for repeated evaluation.
- parseRaw(String) - Method in class org.springframework.expression.spel.standard.SpelExpressionParser
- ParserContext - Interface in org.springframework.expression
-
Input provided to an expression parser that can influence an expression parsing/compilation routine.
- popActiveContextObject() - Method in class org.springframework.expression.spel.ExpressionState
- position - Variable in exception org.springframework.expression.ExpressionException
- POWER - Enum constant in enum class org.springframework.expression.Operation
-
Power operation.
- PROBLEM_LOCATING_METHOD - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- Projection - Class in org.springframework.expression.spel.ast
-
Represents projection, where a given operation is performed on all elements in some input sequence, returning a new sequence of the same size.
- Projection(boolean, int, int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.Projection
- PROJECTION_NOT_SUPPORTED_ON_TYPE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- PROPERTY_OR_FIELD_NOT_READABLE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- PROPERTY_OR_FIELD_NOT_READABLE_ON_NULL - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- PROPERTY_OR_FIELD_NOT_WRITABLE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- PROPERTY_OR_FIELD_NOT_WRITABLE_ON_NULL - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- PropertyAccessor - Interface in org.springframework.expression
-
A property accessor is able to read from (and possibly write to) an object's properties.
- PropertyOrFieldReference - Class in org.springframework.expression.spel.ast
-
Represents a simple property or field reference.
- PropertyOrFieldReference(boolean, String, int, int) - Constructor for class org.springframework.expression.spel.ast.PropertyOrFieldReference
- pushActiveContextObject(TypedValue) - Method in class org.springframework.expression.spel.ExpressionState
- pushDescriptor(String) - Method in class org.springframework.expression.spel.CodeFlow
-
Record the descriptor for the most recently evaluated expression element.
Q
- QualifiedIdentifier - Class in org.springframework.expression.spel.ast
-
Represents a dot separated sequence of strings that indicate a package qualified type reference.
- QualifiedIdentifier(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.QualifiedIdentifier
R
- read(EvaluationContext, Object, String) - Method in interface org.springframework.expression.PropertyAccessor
-
Called to read a property from a specified target object.
- read(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- read(EvaluationContext, Object, String) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
- REAL_CANNOT_BE_LONG - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- RealLiteral - Class in org.springframework.expression.spel.ast
-
Expression language AST node that represents a real literal.
- RealLiteral(String, int, int, double) - Constructor for class org.springframework.expression.spel.ast.RealLiteral
- ReflectionHelper - Class in org.springframework.expression.spel.support
-
Utility methods used by the reflection resolver code to discover the appropriate methods/constructors and fields that should be used in expressions.
- ReflectionHelper() - Constructor for class org.springframework.expression.spel.support.ReflectionHelper
- ReflectiveConstructorExecutor - Class in org.springframework.expression.spel.support
-
A simple ConstructorExecutor implementation that runs a constructor using reflective invocation.
- ReflectiveConstructorExecutor(Constructor<?>) - Constructor for class org.springframework.expression.spel.support.ReflectiveConstructorExecutor
- ReflectiveConstructorResolver - Class in org.springframework.expression.spel.support
-
A constructor resolver that uses reflection to locate the constructor that should be invoked.
- ReflectiveConstructorResolver() - Constructor for class org.springframework.expression.spel.support.ReflectiveConstructorResolver
- ReflectiveMethodExecutor - Class in org.springframework.expression.spel.support
-
MethodExecutor
that works via reflection. - ReflectiveMethodExecutor(Method) - Constructor for class org.springframework.expression.spel.support.ReflectiveMethodExecutor
-
Create a new executor for the given method.
- ReflectiveMethodExecutor(Method, Class<?>) - Constructor for class org.springframework.expression.spel.support.ReflectiveMethodExecutor
-
Create a new executor for the given method.
- ReflectiveMethodResolver - Class in org.springframework.expression.spel.support
-
Reflection-based
MethodResolver
used by default inStandardEvaluationContext
unless explicit method resolvers have been specified. - ReflectiveMethodResolver() - Constructor for class org.springframework.expression.spel.support.ReflectiveMethodResolver
- ReflectiveMethodResolver(boolean) - Constructor for class org.springframework.expression.spel.support.ReflectiveMethodResolver
-
This constructor allows the ReflectiveMethodResolver to be configured such that it will use a distance computation to check which is the better of two close matches (when there are multiple matches).
- ReflectivePropertyAccessor - Class in org.springframework.expression.spel.support
-
A powerful
PropertyAccessor
that uses reflection to access properties for reading and possibly also for writing on a target instance. - ReflectivePropertyAccessor() - Constructor for class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Create a new property accessor for reading as well writing.
- ReflectivePropertyAccessor(boolean) - Constructor for class org.springframework.expression.spel.support.ReflectivePropertyAccessor
-
Create a new property accessor for reading and possibly also writing.
- ReflectivePropertyAccessor.OptimalPropertyAccessor - Class in org.springframework.expression.spel.support
-
An optimized form of a PropertyAccessor that will use reflection but only knows how to access a particular property on a particular class.
- registerFunction(String, Method) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- registerImport(String) - Method in class org.springframework.expression.spel.support.StandardTypeLocator
-
Register a new import prefix that will be used when searching for unqualified types.
- registerMethodFilter(Class<?>, MethodFilter) - Method in class org.springframework.expression.spel.support.ReflectiveMethodResolver
-
Register a filter for methods on the given type.
- registerMethodFilter(Class<?>, MethodFilter) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
-
Register a
MethodFilter
which will be called during method resolution for the specified type. - registerNewClinit(CodeFlow.ClinitAdder) - Method in class org.springframework.expression.spel.CodeFlow
-
Register a ClinitAdder which will add code to the static initializer in the generated class to support the code produced by an AST node's primary generateCode() method.
- registerNewField(CodeFlow.FieldAdder) - Method in class org.springframework.expression.spel.CodeFlow
-
Register a FieldAdder which will add a new field to the generated class to support the code produced by an AST node's primary generateCode() method.
- removeConstructorResolver(ConstructorResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- removeImport(String) - Method in class org.springframework.expression.spel.support.StandardTypeLocator
-
Remove that specified prefix from this locator's list of imports.
- removeMethodResolver(MethodResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- removePropertyAccessor(PropertyAccessor) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- resolve(EvaluationContext, Object, String, List<TypeDescriptor>) - Method in interface org.springframework.expression.MethodResolver
-
Within the supplied context determine a suitable method on the supplied object that can handle the specified arguments.
- resolve(EvaluationContext, Object, String, List<TypeDescriptor>) - Method in class org.springframework.expression.spel.support.DataBindingMethodResolver
- resolve(EvaluationContext, Object, String, List<TypeDescriptor>) - Method in class org.springframework.expression.spel.support.ReflectiveMethodResolver
-
Locate a method on a type.
- resolve(EvaluationContext, String) - Method in interface org.springframework.expression.BeanResolver
-
Look up a bean by the given name and return a corresponding instance for it.
- resolve(EvaluationContext, String, List<TypeDescriptor>) - Method in interface org.springframework.expression.ConstructorResolver
-
Within the supplied context determine a suitable constructor on the supplied type that can handle the specified arguments.
- resolve(EvaluationContext, String, List<TypeDescriptor>) - Method in class org.springframework.expression.spel.support.ReflectiveConstructorResolver
-
Locate a constructor on the type.
- RESULT_OF_SELECTION_CRITERIA_IS_NOT_BOOLEAN - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- revertToInterpreted() - Method in class org.springframework.expression.spel.standard.SpelExpression
-
Cause an expression to revert to being interpreted if it has been using a compiled form.
- revertToInterpreted(Expression) - Static method in class org.springframework.expression.spel.standard.SpelCompiler
-
Request to revert to the interpreter for expression evaluation.
- RIGHT_OPERAND_PROBLEM - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- rightActualDescriptor - Variable in class org.springframework.expression.spel.ast.Operator
- RUN_OUT_OF_ARGUMENTS - Enum constant in enum class org.springframework.expression.spel.SpelMessage
S
- Selection - Class in org.springframework.expression.spel.ast
-
Represents selection over a map or collection.
- Selection(boolean, int, int, int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.Selection
- setBeanResolver(BeanResolver) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setConstructorResolvers(List<ConstructorResolver>) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setEvaluationContext(EvaluationContext) - Method in class org.springframework.expression.spel.standard.SpelExpression
-
Set the evaluation context that will be used if none is specified on an evaluation call.
- setLocalVariable(String, Object) - Method in class org.springframework.expression.spel.ExpressionState
- setMethodResolvers(List<MethodResolver>) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setOperatorOverloader(OperatorOverloader) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setPosition(int) - Method in exception org.springframework.expression.spel.SpelEvaluationException
-
Set the position in the related expression which gave rise to this exception.
- setPropertyAccessors(List<PropertyAccessor>) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setRootObject(Object) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setRootObject(Object, TypeDescriptor) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setTypeComparator(TypeComparator) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setTypeConverter(TypeConverter) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setTypeLocator(TypeLocator) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setupArgumentsForVarargsInvocation(Class<?>[], Object...) - Static method in class org.springframework.expression.spel.support.ReflectionHelper
-
Package up the arguments so that they correctly match what is expected in requiredParameterTypes.
- setValue(Object) - Method in class org.springframework.expression.spel.ast.ValueRef.NullValueRef
- setValue(Object) - Method in interface org.springframework.expression.spel.ast.ValueRef
-
Sets the value this ValueRef points to, it should not require expression component re-evaluation.
- setValue(Object) - Method in class org.springframework.expression.spel.ast.ValueRef.TypedValueHolderValueRef
- setValue(Object, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- setValue(Object, Object) - Method in class org.springframework.expression.common.LiteralExpression
- setValue(Object, Object) - Method in interface org.springframework.expression.Expression
-
Set this expression in the provided context to the value provided.
- setValue(Object, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- setValue(EvaluationContext, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- setValue(EvaluationContext, Object) - Method in class org.springframework.expression.common.LiteralExpression
- setValue(EvaluationContext, Object) - Method in interface org.springframework.expression.Expression
-
Set this expression in the provided context to the value provided.
- setValue(EvaluationContext, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- setValue(EvaluationContext, Object, Object) - Method in class org.springframework.expression.common.CompositeStringExpression
- setValue(EvaluationContext, Object, Object) - Method in class org.springframework.expression.common.LiteralExpression
- setValue(EvaluationContext, Object, Object) - Method in interface org.springframework.expression.Expression
-
Set this expression in the provided context to the value provided.
- setValue(EvaluationContext, Object, Object) - Method in class org.springframework.expression.spel.standard.SpelExpression
- setValue(ExpressionState, Object) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
- setValue(ExpressionState, Object) - Method in interface org.springframework.expression.spel.SpelNode
-
Evaluate the expression to a node and then set the new value on that node.
- SETVALUE_NOT_SUPPORTED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- setValueInternal(ExpressionState, Supplier<TypedValue>) - Method in class org.springframework.expression.spel.ast.CompoundExpression
- setValueInternal(ExpressionState, Supplier<TypedValue>) - Method in class org.springframework.expression.spel.ast.Indexer
- setValueInternal(ExpressionState, Supplier<TypedValue>) - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- setValueInternal(ExpressionState, Supplier<TypedValue>) - Method in class org.springframework.expression.spel.ast.SpelNodeImpl
-
Evaluate the expression to a node and then set the new value created by the specified
Supplier
on that node. - setValueInternal(ExpressionState, Supplier<TypedValue>) - Method in class org.springframework.expression.spel.ast.VariableReference
- setVariable(String, Object) - Method in interface org.springframework.expression.EvaluationContext
-
Set a named variable in this evaluation context to a specified value.
- setVariable(String, Object) - Method in class org.springframework.expression.spel.ExpressionState
-
Set a named variable in the evaluation context to a specified value.
- setVariable(String, Object) - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext
- setVariable(String, Object) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- setVariables(Map<String, Object>) - Method in class org.springframework.expression.spel.support.StandardEvaluationContext
- SHORT - Enum constant in enum class org.springframework.expression.spel.ast.TypeCode
-
A
short
. - SimpleEvaluationContext - Class in org.springframework.expression.spel.support
-
A basic implementation of
EvaluationContext
that focuses on a subset of essential SpEL features and customization options, targeting simple condition evaluation and in particular data binding scenarios. - SimpleEvaluationContext.Builder - Class in org.springframework.expression.spel.support
-
Builder for
SimpleEvaluationContext
. - SpelCompiler - Class in org.springframework.expression.spel.standard
-
A SpelCompiler will take a regular parsed expression and create (and load) a class containing byte code that does the same thing as that expression.
- SpelCompilerMode - Enum Class in org.springframework.expression.spel
-
Captures the possible configuration settings for a compiler that can be used when evaluating expressions.
- SpelEvaluationException - Exception in org.springframework.expression.spel
-
Root exception for Spring EL related exceptions.
- SpelEvaluationException(int, Throwable, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelEvaluationException
- SpelEvaluationException(int, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelEvaluationException
- SpelEvaluationException(Throwable, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelEvaluationException
- SpelEvaluationException(SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelEvaluationException
- SpelExpression - Class in org.springframework.expression.spel.standard
-
A
SpelExpression
represents a parsed (valid) expression that is ready to be evaluated in a specified context. - SpelExpression(String, SpelNodeImpl, SpelParserConfiguration) - Constructor for class org.springframework.expression.spel.standard.SpelExpression
-
Construct an expression, only used by the parser.
- SpelExpressionParser - Class in org.springframework.expression.spel.standard
-
SpEL parser.
- SpelExpressionParser() - Constructor for class org.springframework.expression.spel.standard.SpelExpressionParser
-
Create a parser with default settings.
- SpelExpressionParser(SpelParserConfiguration) - Constructor for class org.springframework.expression.spel.standard.SpelExpressionParser
-
Create a parser with the specified configuration.
- SpelMessage - Enum Class in org.springframework.expression.spel
-
Contains all the messages that can be produced by the Spring Expression Language.
- SpelMessage.Kind - Enum Class in org.springframework.expression.spel
-
Message kinds.
- SpelNode - Interface in org.springframework.expression.spel
-
Represents a node in the AST for a parsed expression.
- SpelNodeImpl - Class in org.springframework.expression.spel.ast
-
The common supertype of all AST nodes in a parsed Spring Expression Language format expression.
- SpelNodeImpl(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.SpelNodeImpl
- SpelParseException - Exception in org.springframework.expression.spel
-
Root exception for Spring EL related exceptions.
- SpelParseException(int, Throwable, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelParseException
- SpelParseException(int, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelParseException
- SpelParseException(String, int, SpelMessage, Object...) - Constructor for exception org.springframework.expression.spel.SpelParseException
- SpelParserConfiguration - Class in org.springframework.expression.spel
-
Configuration object for the SpEL expression parser.
- SpelParserConfiguration() - Constructor for class org.springframework.expression.spel.SpelParserConfiguration
-
Create a new
SpelParserConfiguration
instance with default settings. - SpelParserConfiguration(boolean, boolean) - Constructor for class org.springframework.expression.spel.SpelParserConfiguration
-
Create a new
SpelParserConfiguration
instance. - SpelParserConfiguration(boolean, boolean, int) - Constructor for class org.springframework.expression.spel.SpelParserConfiguration
-
Create a new
SpelParserConfiguration
instance. - SpelParserConfiguration(SpelCompilerMode, ClassLoader) - Constructor for class org.springframework.expression.spel.SpelParserConfiguration
-
Create a new
SpelParserConfiguration
instance. - SpelParserConfiguration(SpelCompilerMode, ClassLoader, boolean, boolean, int) - Constructor for class org.springframework.expression.spel.SpelParserConfiguration
-
Create a new
SpelParserConfiguration
instance. - SpelParserConfiguration(SpelCompilerMode, ClassLoader, boolean, boolean, int, int) - Constructor for class org.springframework.expression.spel.SpelParserConfiguration
-
Create a new
SpelParserConfiguration
instance. - SPRING_EXPRESSION_COMPILER_MODE_PROPERTY_NAME - Static variable in class org.springframework.expression.spel.SpelParserConfiguration
-
System property to configure the default compiler mode for SpEL expression parsers: "spring.expression.compiler.mode".
- StandardEvaluationContext - Class in org.springframework.expression.spel.support
-
A powerful and highly configurable
EvaluationContext
implementation. - StandardEvaluationContext() - Constructor for class org.springframework.expression.spel.support.StandardEvaluationContext
-
Create a
StandardEvaluationContext
with a null root object. - StandardEvaluationContext(Object) - Constructor for class org.springframework.expression.spel.support.StandardEvaluationContext
-
Create a
StandardEvaluationContext
with the given root object. - StandardOperatorOverloader - Class in org.springframework.expression.spel.support
-
Standard implementation of
OperatorOverloader
. - StandardOperatorOverloader() - Constructor for class org.springframework.expression.spel.support.StandardOperatorOverloader
- StandardTypeComparator - Class in org.springframework.expression.spel.support
-
A basic
TypeComparator
implementation: supports comparison ofNumber
types as well as types implementingComparable
. - StandardTypeComparator() - Constructor for class org.springframework.expression.spel.support.StandardTypeComparator
- StandardTypeConverter - Class in org.springframework.expression.spel.support
-
Default implementation of the
TypeConverter
interface, delegating to a core SpringConversionService
. - StandardTypeConverter() - Constructor for class org.springframework.expression.spel.support.StandardTypeConverter
-
Create a StandardTypeConverter for the default ConversionService.
- StandardTypeConverter(Supplier<ConversionService>) - Constructor for class org.springframework.expression.spel.support.StandardTypeConverter
-
Create a StandardTypeConverter for the given ConversionService.
- StandardTypeConverter(ConversionService) - Constructor for class org.springframework.expression.spel.support.StandardTypeConverter
-
Create a StandardTypeConverter for the given ConversionService.
- StandardTypeLocator - Class in org.springframework.expression.spel.support
-
A simple implementation of
TypeLocator
that uses the context ClassLoader (or any ClassLoader set upon it). - StandardTypeLocator() - Constructor for class org.springframework.expression.spel.support.StandardTypeLocator
-
Create a StandardTypeLocator for the default ClassLoader (typically, the thread context ClassLoader).
- StandardTypeLocator(ClassLoader) - Constructor for class org.springframework.expression.spel.support.StandardTypeLocator
-
Create a StandardTypeLocator for the given ClassLoader.
- STRING_INDEX_OUT_OF_BOUNDS - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- StringLiteral - Class in org.springframework.expression.spel.ast
-
Expression language AST node that represents a string literal.
- StringLiteral(String, int, int, String) - Constructor for class org.springframework.expression.spel.ast.StringLiteral
- SUBTRACT - Enum constant in enum class org.springframework.expression.Operation
-
Subtract operation.
T
- TEMPLATE_EXPRESSION - Static variable in interface org.springframework.expression.ParserContext
-
The default ParserContext implementation that enables template expression parsing mode.
- TemplateAwareExpressionParser - Class in org.springframework.expression.common
-
An expression parser that understands templates.
- TemplateAwareExpressionParser() - Constructor for class org.springframework.expression.common.TemplateAwareExpressionParser
- TemplateParserContext - Class in org.springframework.expression.common
-
Configurable
ParserContext
implementation for template parsing. - TemplateParserContext() - Constructor for class org.springframework.expression.common.TemplateParserContext
-
Create a new TemplateParserContext with the default "#{" prefix and "}" suffix.
- TemplateParserContext(String, String) - Constructor for class org.springframework.expression.common.TemplateParserContext
-
Create a new TemplateParserContext for the given prefix and suffix.
- Ternary - Class in org.springframework.expression.spel.ast
-
Represents a ternary expression, for example: "someCheck()?true:false".
- Ternary(int, int, SpelNodeImpl...) - Constructor for class org.springframework.expression.spel.ast.Ternary
- toBoolean(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Attempt to convert a typed value to a boolean using the supplied type converter.
- toBoxedDescriptor(String) - Static method in class org.springframework.expression.spel.CodeFlow
- toByte(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Attempt to convert a typed value to a byte using the supplied type converter.
- toChar(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Attempt to convert a typed value to a char using the supplied type converter.
- toDescriptor(Class<?>) - Static method in class org.springframework.expression.spel.CodeFlow
-
Deduce the descriptor for a type.
- toDescriptorFromObject(Object) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine the descriptor for an object instance (or
null
). - toDescriptors(Class<?>[]) - Static method in class org.springframework.expression.spel.CodeFlow
-
Create an array of descriptors from an array of classes.
- toDetailedString() - Method in exception org.springframework.expression.ExpressionException
-
Return a detailed description of this exception, including the expression String and position (if available) as well as the actual exception message.
- toDouble(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Attempt to convert a typed value to a double using the supplied type converter.
- toFloat(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Attempt to convert a typed value to a float using the supplied type converter.
- toInt(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Attempt to convert a typed value to an int using the supplied type converter.
- toJvmDescriptor(Class<?>) - Static method in class org.springframework.expression.spel.CodeFlow
-
Determine the JVM descriptor for a specified class.
- toLong(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Attempt to convert a typed value to a long using the supplied type converter.
- toParamDescriptors(Constructor<?>) - Static method in class org.springframework.expression.spel.CodeFlow
-
Create an array of descriptors representing the parameter types for the supplied constructor.
- toParamDescriptors(Method) - Static method in class org.springframework.expression.spel.CodeFlow
-
Create an array of descriptors representing the parameter types for the supplied method.
- toPrimitiveTargetDesc(String) - Static method in class org.springframework.expression.spel.CodeFlow
-
Convert a type descriptor to the single character primitive descriptor.
- toShort(TypeConverter, TypedValue) - Static method in class org.springframework.expression.common.ExpressionUtils
-
Attempt to convert a typed value to a short using the supplied type converter.
- toString() - Method in class org.springframework.expression.spel.ast.Literal
- toString() - Method in class org.springframework.expression.spel.ast.NullLiteral
- toString() - Method in class org.springframework.expression.spel.ast.StringLiteral
- toString() - Method in class org.springframework.expression.TypedValue
- toStringAST() - Method in class org.springframework.expression.spel.ast.Assign
- toStringAST() - Method in class org.springframework.expression.spel.ast.BeanReference
- toStringAST() - Method in class org.springframework.expression.spel.ast.CompoundExpression
- toStringAST() - Method in class org.springframework.expression.spel.ast.ConstructorReference
- toStringAST() - Method in class org.springframework.expression.spel.ast.Elvis
- toStringAST() - Method in class org.springframework.expression.spel.ast.FunctionReference
- toStringAST() - Method in class org.springframework.expression.spel.ast.Identifier
- toStringAST() - Method in class org.springframework.expression.spel.ast.Indexer
- toStringAST() - Method in class org.springframework.expression.spel.ast.InlineList
- toStringAST() - Method in class org.springframework.expression.spel.ast.InlineMap
- toStringAST() - Method in class org.springframework.expression.spel.ast.Literal
- toStringAST() - Method in class org.springframework.expression.spel.ast.MethodReference
- toStringAST() - Method in class org.springframework.expression.spel.ast.OpDec
- toStringAST() - Method in class org.springframework.expression.spel.ast.Operator
-
String format for all operators is the same
'(' [operand] [operator] [operand] ')'
. - toStringAST() - Method in class org.springframework.expression.spel.ast.OperatorNot
- toStringAST() - Method in class org.springframework.expression.spel.ast.OpInc
- toStringAST() - Method in class org.springframework.expression.spel.ast.OpMinus
- toStringAST() - Method in class org.springframework.expression.spel.ast.OpPlus
- toStringAST() - Method in class org.springframework.expression.spel.ast.Projection
- toStringAST() - Method in class org.springframework.expression.spel.ast.PropertyOrFieldReference
- toStringAST() - Method in class org.springframework.expression.spel.ast.QualifiedIdentifier
- toStringAST() - Method in class org.springframework.expression.spel.ast.Selection
- toStringAST() - Method in class org.springframework.expression.spel.ast.Ternary
- toStringAST() - Method in class org.springframework.expression.spel.ast.TypeReference
- toStringAST() - Method in class org.springframework.expression.spel.ast.VariableReference
- toStringAST() - Method in interface org.springframework.expression.spel.SpelNode
-
Return the string form of this AST node.
- toStringAST() - Method in class org.springframework.expression.spel.standard.SpelExpression
-
Produce a string representation of the Abstract Syntax Tree for the expression.
- TRUE - Static variable in class org.springframework.expression.spel.support.BooleanTypedValue
-
True.
- TYPE_CONVERSION_ERROR - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- TYPE_NAME_EXPECTED_FOR_ARRAY_CONSTRUCTION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- TYPE_NOT_FOUND - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- TypeCode - Enum Class in org.springframework.expression.spel.ast
-
Captures primitive types and their corresponding class objects, plus one special
TypeCode.OBJECT
entry that represents all reference (non-primitive) types. - TypeComparator - Interface in org.springframework.expression
-
Instances of a type comparator should be able to compare pairs of objects for equality.
- TypeConverter - Interface in org.springframework.expression
-
A type converter can convert values between different types encountered during expression evaluation.
- TypedValue - Class in org.springframework.expression
-
Encapsulates an object and a
TypeDescriptor
that describes it. - TypedValue(Object) - Constructor for class org.springframework.expression.TypedValue
-
Create a
TypedValue
for a simple object. - TypedValue(Object, TypeDescriptor) - Constructor for class org.springframework.expression.TypedValue
-
Create a
TypedValue
for a particular value with a particularTypeDescriptor
which may contain additional generic declarations. - TypedValueHolderValueRef(TypedValue, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.ValueRef.TypedValueHolderValueRef
- TypeLocator - Interface in org.springframework.expression
-
Implementers of this interface are expected to be able to locate types.
- TypeReference - Class in org.springframework.expression.spel.ast
-
Represents a reference to a type, for example
"T(String)"
or"T(com.example.Foo)"
. - TypeReference(int, int, SpelNodeImpl) - Constructor for class org.springframework.expression.spel.ast.TypeReference
- TypeReference(int, int, SpelNodeImpl, int) - Constructor for class org.springframework.expression.spel.ast.TypeReference
U
- UNABLE_TO_CREATE_LIST_FOR_INDEXING - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- UNABLE_TO_CREATE_MAP_FOR_INDEXING - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- UNABLE_TO_DYNAMICALLY_CREATE_OBJECT - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- UNABLE_TO_GROW_COLLECTION - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- UNABLE_TO_GROW_COLLECTION_UNKNOWN_ELEMENT_TYPE - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- unboxBooleanIfNecessary(MethodVisitor) - Method in class org.springframework.expression.spel.CodeFlow
-
If the codeflow shows the last expression evaluated to java.lang.Boolean then insert the necessary instructions to unbox that to a boolean primitive.
- UNEXPECTED_DATA_AFTER_DOT - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- UNEXPECTED_ESCAPE_CHAR - Enum constant in enum class org.springframework.expression.spel.SpelMessage
V
- valueOf(String) - Static method in enum class org.springframework.expression.Operation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.expression.spel.ast.TypeCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.expression.spel.SpelCompilerMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.expression.spel.SpelMessage.Kind
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.expression.spel.SpelMessage
-
Returns the enum constant of this class with the specified name.
- ValueRef - Interface in org.springframework.expression.spel.ast
-
Represents a reference to a value.
- ValueRef.NullValueRef - Class in org.springframework.expression.spel.ast
-
A ValueRef for the null value.
- ValueRef.TypedValueHolderValueRef - Class in org.springframework.expression.spel.ast
-
A ValueRef holder for a single value, which cannot be set.
- values() - Static method in enum class org.springframework.expression.Operation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.expression.spel.ast.TypeCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.expression.spel.SpelCompilerMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.expression.spel.SpelMessage.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.expression.spel.SpelMessage
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VARIABLE_ASSIGNMENT_NOT_SUPPORTED - Enum constant in enum class org.springframework.expression.spel.SpelMessage
- VariableReference - Class in org.springframework.expression.spel.ast
-
Represents a variable reference — for example,
#someVar
. - VariableReference(String, int, int) - Constructor for class org.springframework.expression.spel.ast.VariableReference
W
- WARNING - Enum constant in enum class org.springframework.expression.spel.SpelMessage.Kind
- withConversionService(ConversionService) - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
-
Register a custom
ConversionService
. - withInstanceMethods() - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
-
Register a
DataBindingMethodResolver
for instance method invocation purposes (i.e. - withMethodResolvers(MethodResolver...) - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
-
Register the specified
MethodResolver
delegates for a combination of property access and method resolution. - withRootObject(Object) - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
-
Specify a default root object to resolve against.
- withTypeConverter(TypeConverter) - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
-
Register a custom
TypeConverter
. - withTypedRootObject(Object, TypeDescriptor) - Method in class org.springframework.expression.spel.support.SimpleEvaluationContext.Builder
-
Specify a typed root object to resolve against.
- write(EvaluationContext, Object, String, Object) - Method in interface org.springframework.expression.PropertyAccessor
-
Called to write to a property on a specified target object.
- write(EvaluationContext, Object, String, Object) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor.OptimalPropertyAccessor
- write(EvaluationContext, Object, String, Object) - Method in class org.springframework.expression.spel.support.ReflectivePropertyAccessor
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
OperatorMatches(ConcurrentMap, int, int, SpelNodeImpl...)
with a shared pattern cache instead