public Class<?> genericType() { return descriptorChain[descriptorChain.length - 1].genericType(); }
public Class<?> genericType() { return descriptorChain[descriptorChain.length - 1].genericType(); }
public Class<?> genericType() { return descriptorChain[descriptorChain.length - 1].genericType(); }
public Class<?> getGenericType(Class<?> runtimeDestClass) { DozerPropertyDescriptor propertyDescriptor = getDestPropertyDescriptor(runtimeDestClass); return propertyDescriptor.genericType(); }
public static Class<?> getDeepGenericType(Class<?> clazz, String fieldName, HintContainer deepIndexHintContainer) { // follow deep field hierarchy. If any values are null along the way, then return null DozerPropertyDescriptor[] hierarchy = getDeepFieldHierarchy(clazz, fieldName, deepIndexHintContainer); return hierarchy[hierarchy.length - 1].genericType(); }
public Class<?> getGenericType(Class<?> runtimeDestClass) { DozerPropertyDescriptor propertyDescriptor = getDestPropertyDescriptor(runtimeDestClass); return propertyDescriptor.genericType(); }
public Class<?> getGenericType(Class<?> runtimeDestClass) { DozerPropertyDescriptor propertyDescriptor = getDestPropertyDescriptor(runtimeDestClass); return propertyDescriptor.genericType(); }
public static Class<?> getSupportedCollectionEntryType(DozerPropertyDescriptor pd) { Class<?> entryType = pd.genericType(); if (entryType == null) { entryType = getSupportedCollectionEntryType(pd.getPropertyType()); } return entryType; }
public static Class<?> getSupportedCollectionEntryType(DozerPropertyDescriptor pd) { Class<?> entryType = pd.genericType(); if (entryType == null) { entryType = getSupportedCollectionEntryType(pd.getPropertyType()); } return entryType; }
latestClass = latestClass.getComponentType(); } else if (Collection.class.isAssignableFrom(latestClass)) { Class<?> genericType = propDescriptor.genericType();