Top Fields Constructors Methods
liquibase.serializer

public Class ReflectionSerializer

extends Object
Class Inheritance
Imports
liquibase.exception.UnexpectedLiquibaseException, java.lang.reflect.Field, .ParameterizedType, .Type, java.util.*, java.util.concurrent.ConcurrentHashMap

Field Summary

Modifier and TypeField and Description
private static final ReflectionSerializer
private final Map<Class<T>, Map<String, Field>>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private Field
findField(Object object, String field)

public Class<T>
public Type[]
public Set<String>
getFields(Object object)

public static ReflectionSerializer
public Object
getValue(Object object, String field)

public void
setValue(Object object, String field, Object value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

instanceback to summary
private static final ReflectionSerializer instance
reflectionCacheback to summary
private final Map<Class<T>, Map<String, Field>> reflectionCache

Constructor Detail

ReflectionSerializerback to summary
private ReflectionSerializer()

Method Detail

findFieldback to summary
private Field findField(Object object, String field)
getDataTypeClassback to summary
public Class<T> getDataTypeClass(Object object, String field)
getDataTypeClassParametersback to summary
public Type[] getDataTypeClassParameters(Object object, String field)
getFieldsback to summary
public Set<String> getFields(Object object)
getInstanceback to summary
public static ReflectionSerializer getInstance()
getValueback to summary
public Object getValue(Object object, String field)
setValueback to summary
public void setValue(Object object, String field, Object value)