public final class TypeResolver extends Object
Modifier and Type | Method and Description |
---|---|
static Class<?> |
resolvePropertyType(Class<?> targetClass,
Method readMethod,
Method writeMethod)
Try to resolve the property type for the supplied methods and target class.
|
public static Class<?> resolvePropertyType(Class<?> targetClass, Method readMethod, Method writeMethod)
targetClass
- the target class of the propertyreadMethod
- the read method of the propertywriteMethod
- the write method of the propertyCopyright © 2005-2014 dozer. All Rights Reserved.