public class Binding extends Object
| Modifier and Type | Field and Description |
|---|---|
Annotation[] |
annotations |
boolean |
asExtraWhenPresent |
boolean |
asMissingWhenNotPresent |
Class |
clazz |
TypeLiteral |
clazzTypeLiteral |
Decoder |
decoder |
OmitValue |
defaultValueToOmit |
Encoder |
encoder |
Field |
field |
String[] |
fromNames |
int |
idx |
boolean |
isCollectionValueNullable |
boolean |
isNullable |
long |
mask |
Method |
method |
String |
name |
boolean |
shouldSkip |
String[] |
toNames |
boolean |
valueCanReuse |
Type |
valueType |
TypeLiteral |
valueTypeLiteral |
| Constructor and Description |
|---|
Binding(ClassInfo classInfo,
Map<String,Type> lookup,
Type valueType) |
| Modifier and Type | Method and Description |
|---|---|
String |
decoderCacheKey() |
String |
encoderCacheKey() |
boolean |
equals(Object o) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
int |
hashCode() |
String |
toString() |
public final Class clazz
public final TypeLiteral clazzTypeLiteral
public Annotation[] annotations
public Field field
public Method method
public boolean valueCanReuse
public String name
public Type valueType
public TypeLiteral valueTypeLiteral
public String[] fromNames
public String[] toNames
public Decoder decoder
public Encoder encoder
public boolean asMissingWhenNotPresent
public boolean asExtraWhenPresent
public boolean isNullable
public boolean isCollectionValueNullable
public OmitValue defaultValueToOmit
public boolean shouldSkip
public int idx
public long mask
public String decoderCacheKey()
public String encoderCacheKey()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
Copyright © 2019. All rights reserved.