DozerPropertyDescriptor pd;
if (isDestFieldAccessible()) {
pd = new FieldPropertyDescriptor(destObj.getClass(), getDestFieldName(), isDestFieldIndexed(), getDestFieldIndex(),
getSrcDeepIndexHintContainer(), getDestDeepIndexHintContainer());
} else {
pd = new JavaBeanPropertyDescriptor(destObj.getClass(), getDestFieldName(), isDestFieldIndexed(), getDestFieldIndex(),
getSrcDeepIndexHintContainer(), getDestDeepIndexHintContainer());
}
Class<?> c = pd.getPropertyType();
Object targetObject = pd.getPropertyValue(destObj);