public class SerializedLiteral extends Object implements SerializedValue
| Modifier and Type | Field and Description |
|---|---|
static Set<Class<?>> |
LITERAL_TYPES |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(SerializedValueVisitor<T> visitor) |
Type |
getType() |
Object |
getValue() |
Class<?> |
getValueType() |
static boolean |
isLiteral(Type type) |
static SerializedLiteral |
literal(Type type,
Object value) |
String |
toString() |
public static boolean isLiteral(Type type)
public static SerializedLiteral literal(Type type, Object value)
public Type getType()
getType in interface SerializedValuepublic Class<?> getValueType()
getValueType in interface SerializedValuepublic Object getValue()
public <T> T accept(SerializedValueVisitor<T> visitor)
accept in interface SerializedValueCopyright © 2016. All rights reserved.