public class TypeLiteral<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeLiteral.NativeType |
| Modifier and Type | Field and Description |
|---|---|
static Map<Type,TypeLiteral.NativeType> |
nativeTypes |
| Modifier | Constructor and Description |
|---|---|
protected |
TypeLiteral()
Constructs a new type literal.
|
|
TypeLiteral(Type type,
String decoderCacheKey,
String encoderCacheKey) |
| Modifier and Type | Method and Description |
|---|---|
static TypeLiteral |
create(Type valueType) |
String |
getDecoderCacheKey() |
String |
getDecoderCacheKey(String configName) |
String |
getEncoderCacheKey() |
String |
getEncoderCacheKey(String configName) |
TypeLiteral.NativeType |
getNativeType() |
Type |
getType() |
String |
toString() |
public static Map<Type,TypeLiteral.NativeType> nativeTypes
protected TypeLiteral()
public static TypeLiteral create(Type valueType)
public Type getType()
public String getDecoderCacheKey()
public String getEncoderCacheKey()
public TypeLiteral.NativeType getNativeType()
Copyright © 2019. All rights reserved.