public abstract class FieldWrapper extends java.lang.Object implements IFieldWrapper
Modifier and Type | Class and Description |
---|---|
static class |
FieldWrapper.BeanEntry<K,V> |
private static class |
FieldWrapper.EnumWrapper |
private static class |
FieldWrapper.MapWrapper |
private static class |
FieldWrapper.PrimitiveWrapper |
private static class |
FieldWrapper.SingleValueFieldWrapper |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
category |
protected java.lang.reflect.Field |
field |
protected java.lang.Object |
instance |
protected java.lang.String |
name |
Constructor and Description |
---|
FieldWrapper(java.lang.String category,
java.lang.reflect.Field field,
java.lang.Object instance) |
Modifier and Type | Method and Description |
---|---|
private static <T> T[] |
asArray(T... in) |
static IFieldWrapper |
get(java.lang.Object instance,
java.lang.reflect.Field field,
java.lang.String category) |
static boolean |
hasWrapperFor(java.lang.reflect.Field field) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategory, getKeys, getTypeAdapter, getValue, handlesKey, hasKey, setupConfiguration, setupConfiguration, setValue
protected java.lang.String category
protected java.lang.String name
protected java.lang.reflect.Field field
protected java.lang.Object instance
public FieldWrapper(java.lang.String category, java.lang.reflect.Field field, java.lang.Object instance)
public static IFieldWrapper get(java.lang.Object instance, java.lang.reflect.Field field, java.lang.String category)
public static boolean hasWrapperFor(java.lang.reflect.Field field)
private static <T> T[] asArray(T... in)