if (!(fieldMap instanceof MultiFieldsExcludeFieldMap) && !isBlankOrNull(fieldMap.getDestFieldIndex())) { builder.append("[" + fieldMap.getDestFieldIndex() + "]");
if (!(fieldMap instanceof MultiFieldsExcludeFieldMap) && !isBlankOrNull(fieldMap.getDestFieldIndex())) { builder.append("[" + fieldMap.getDestFieldIndex() + "]");
protected DozerPropertyDescriptor getDestPropertyDescriptor(Class<?> runtimeDestClass) { if (BeanBuilder.class.isAssignableFrom(runtimeDestClass)) { MappingUtils.throwMappingException( "getDestPropertyDescriptor received builder instead of concrete class - it's a bug, please post stack trace at https://github.com/DozerMapper/dozer or directly to dmitry@spikhalskiy.com "); return null; } DozerPropertyDescriptor result = this.destPropertyDescriptorMap.get(runtimeDestClass); if (result == null) { DozerPropertyDescriptor descriptor = PropertyDescriptorFactory.getPropertyDescriptor(runtimeDestClass, getDestFieldTheGetMethod(), getDestFieldTheSetMethod(), getDestFieldMapGetMethod(), getDestFieldMapSetMethod(), isDestFieldAccessible(), isDestFieldIndexed(), getDestFieldIndex(), getDestFieldName(), getDestFieldKey(), isDestSelfReferencing(), getSrcFieldName(), getSrcDeepIndexHintContainer(), getDestDeepIndexHintContainer(), classMap.getDestClassBeanFactory()); this.destPropertyDescriptorMap.putIfAbsent(runtimeDestClass, descriptor); result = descriptor; } return result; }
public DozerPropertyDescriptor getDestPropertyDescriptor(Class<?> runtimeDestClass) { DozerPropertyDescriptor result = this.destPropertyDescriptorMap.get(runtimeDestClass); if (result == null) { DozerPropertyDescriptor descriptor = PropertyDescriptorFactory.getPropertyDescriptor(runtimeDestClass, getDestFieldTheGetMethod(), getDestFieldTheSetMethod(), getDestFieldMapGetMethod(), getDestFieldMapSetMethod(), isDestFieldAccessible(), isDestFieldIndexed(), getDestFieldIndex(), getDestFieldName(), getDestFieldKey(), isDestSelfReferencing(), getSrcFieldName(), getDestDeepIndexHintContainer(), classMap.getDestClassBeanFactory()); this.destPropertyDescriptorMap.putIfAbsent(runtimeDestClass, descriptor); result = descriptor; } return result; }
public DozerPropertyDescriptor getDestPropertyDescriptor(Class<?> runtimeDestClass) { DozerPropertyDescriptor result = this.destPropertyDescriptorMap.get(runtimeDestClass); if (result == null) { DozerPropertyDescriptor descriptor = PropertyDescriptorFactory.getPropertyDescriptor(runtimeDestClass, getDestFieldTheGetMethod(), getDestFieldTheSetMethod(), getDestFieldMapGetMethod(), getDestFieldMapSetMethod(), isDestFieldAccessible(), isDestFieldIndexed(), getDestFieldIndex(), getDestFieldName(), getDestFieldKey(), isDestSelfReferencing(), getSrcFieldName(), getDestDeepIndexHintContainer(), classMap.getDestClassBeanFactory()); this.destPropertyDescriptorMap.putIfAbsent(runtimeDestClass, descriptor); result = descriptor; } return result; }