FieldPropertyDescriptor extends AbstractPropertyDescriptor implements DozerPropertyDescriptor { public Class<?> getPropertyType() { return descriptorChain[descriptorChain.length - 1].getPropertyType(); } FieldPropertyDescriptor(Class<?> clazz, String fieldName, boolean isIndexed, int index,
                                   HintContainer srcDeepIndexHintContainer, HintContainer destDeepIndexHintContainer,
                                   DestBeanCreator destBeanCreator); Class<?> getPropertyType(); Class<?> genericType(); Object getPropertyValue(Object bean); void setPropertyValue(Object bean, Object value, FieldMap fieldMap);  }
@Test public void getPropertyType() { FieldPropertyDescriptor descriptor = new FieldPropertyDescriptor(Container.class, "hidden", false, 0, null, null, destBeanCreator); assertEquals(Integer.TYPE, descriptor.getPropertyType()); }
@Test public void getPropertyTypeChained() { FieldPropertyDescriptor descriptor = new FieldPropertyDescriptor(Container.class, "container.value", false, 0, null, null, destBeanCreator); assertEquals(String.class, descriptor.getPropertyType()); }