T - the JVM type of value held by the literalLiteral instead.@Deprecated public interface Literal<T> extends Expression
| Modifier and Type | Interface and Description |
|---|---|
static class |
Literal.LiteralImpl<T>
Deprecated.
Creates a literal with the given type value.
|
EMPTY_EXPRESSION, EMPTY_NAMED_REFERENCE| Modifier and Type | Method and Description |
|---|---|
default Expression[] |
children()
Deprecated.
|
Type |
dataType()
Deprecated.
|
static Literal.LiteralImpl<java.lang.Integer> |
integer(java.lang.Integer value)
Deprecated.
Creates an integer literal with the given value.
|
static <T> Literal.LiteralImpl<T> |
of(T value,
Type dataType)
Deprecated.
Creates a literal with the given value and data type.
|
static Literal.LiteralImpl<java.lang.String> |
string(java.lang.String value)
Deprecated.
Creates a string literal with the given value.
|
T |
value()
Deprecated.
|
referencesT value()
Type dataType()
default Expression[] children()
children in interface Expressionstatic <T> Literal.LiteralImpl<T> of(T value, Type dataType)
T - the JVM type of value held by the literalvalue - the literal valuedataType - the data type of the literalLiteral instancestatic Literal.LiteralImpl<java.lang.Integer> integer(java.lang.Integer value)
value - the integer literal valueLiteral instancestatic Literal.LiteralImpl<java.lang.String> string(java.lang.String value)
value - the string literal valueLiteral instance