for (int i = 0; i < fromTypes.length; i++) {
Class fromType = fromTypes[i];
if (!fromType.equals(BigDecimal.class)) {
String fromName = (fromType.isPrimitive()) ? getKeyForClass(fromType, null) : fromType.getName();
map.put(new Pair(fromName, BigDecimal.class.getName()), new NumberToBigDecimalConverter(numberFormat, fromType));
}
}
}