Class ELLiterals
java.lang.Object
io.micronaut.el.runtime.ELLiterals
The handling of the literal-expressions described in the section 1.2.2 of the Jakarta Expression
Language specification.
- Since:
- 1.0
- Author:
- Denis Stepanov
-
Method Summary
Modifier and TypeMethodDescriptionstatic NumberfloatingPointValue(String image) Returns the value of a floating point literal, which is aDoubleunless it does not fit in one.static NumberintegerValue(String image) Returns the value of an integer literal, which is aLongunless it does not fit in one.static @Nullable StringliteralTextOrNull(String expression) Returns the text of a literal-expression, with the\$and\#escapes resolved.
-
Method Details
-
literalTextOrNull
-
integerValue
-
floatingPointValue
-