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