Type componentType = getComponentType(mapping, parameter); if (componentType != null) { // there is actually XML config. Type fullType = ParameterizedTypeFactory.createParameterizedType(relatedClass, new Type[] {componentType}); info.setType(fullType); = ParameterizedTypeFactory.createParameterizedType(relatedClass, new Type[] {keyType, valueType}); info.setType(fullType);
Type componentType = getComponentType(mapping, parameter); if (componentType != null) { // there is actually XML config. Type fullType = ParameterizedTypeFactory.createParameterizedType(relatedClass, new Type[] {componentType}); info.setType(fullType); = ParameterizedTypeFactory.createParameterizedType(relatedClass, new Type[] {keyType, valueType}); info.setType(fullType);