public class SerializedLiteral extends AbstractSerializedValue implements SerializedValueType
literal(Type, Object)| Modifier and Type | Field and Description |
|---|---|
static Set<Class<?>> |
LITERAL_TYPES |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(Deserializer<T> visitor) |
Type |
getResultType() |
Object |
getValue() |
static boolean |
isLiteral(Type type) |
static SerializedLiteral |
literal(Object value) |
static SerializedLiteral |
literal(Type type,
Object value) |
String |
toString() |
getType, setTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetType, setTypepublic static boolean isLiteral(Type type)
public static SerializedLiteral literal(Object value)
public static SerializedLiteral literal(Type type, Object value)
public Type getResultType()
getResultType in interface SerializedValuegetResultType in class AbstractSerializedValuepublic Object getValue()
getValue in interface SerializedValueTypepublic <T> T accept(Deserializer<T> visitor)
accept in interface SerializedValueCopyright © 2016. All rights reserved.