* singleton.
*/
private ValidatorRegistry() {
// Standalone validators here...
associate(Integer.class, Integer.TYPE,
new ObjectToPrimitiveValidator(Integer.TYPE));
associate(Byte.class, Byte.TYPE, new ObjectToPrimitiveValidator(
Byte.TYPE));
associate(Short.class, Short.TYPE, new ObjectToPrimitiveValidator(
Short.TYPE));
associate(Long.class, Long.TYPE, new ObjectToPrimitiveValidator(
Long.TYPE));
associate(Float.class, Float.TYPE, new ObjectToPrimitiveValidator(
Float.TYPE));
associate(Double.class, Double.TYPE,
new ObjectToPrimitiveValidator(Double.TYPE));
associate(Boolean.class, Boolean.TYPE,
new ObjectToPrimitiveValidator(Boolean.TYPE));
associate(Object.class, Integer.TYPE,
new ObjectToPrimitiveValidator(Integer.TYPE));
associate(Object.class, Byte.TYPE, new ObjectToPrimitiveValidator(
Byte.TYPE));
associate(Object.class, Short.TYPE, new ObjectToPrimitiveValidator(
Short.TYPE));
associate(Object.class, Long.TYPE, new ObjectToPrimitiveValidator(
Long.TYPE));
associate(Object.class, Float.TYPE, new ObjectToPrimitiveValidator(
Float.TYPE));
associate(Object.class, Double.TYPE,
new ObjectToPrimitiveValidator(Double.TYPE));
associate(Object.class, Boolean.TYPE,
new ObjectToPrimitiveValidator(Boolean.TYPE));
}