Class LiteralValueExpression
java.lang.Object
jakarta.el.Expression
jakarta.el.ValueExpression
io.micronaut.el.runtime.CompiledValueExpression
io.micronaut.el.runtime.LiteralValueExpression
- All Implemented Interfaces:
CompiledExpression, Serializable
A literal-expression as described in the section 1.2.2 of the Jakarta Expression Language specification.
- Since:
- 1.0
- Author:
- Denis Stepanov
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class CompiledValueExpression
equals, getExpectedType, getExpressionString, getValue, hashCode, isReadOnly, setValue, toStringMethods inherited from class jakarta.el.ValueExpression
getValueReference
-
Constructor Details
-
LiteralValueExpression
-
-
Method Details
-
evaluate
Description copied from class:CompiledValueExpressionEvaluates the compiled expression.- Specified by:
evaluatein classCompiledValueExpression- Parameters:
context- The context- Returns:
- The result of the evaluation, before the coercion to the expected type
-
getType
- Overrides:
getTypein classCompiledValueExpression
-
isLiteralText
public boolean isLiteralText()- Overrides:
isLiteralTextin classCompiledValueExpression
-