if (converter instanceof NumberToByteConverter) {
result = new NumberToByteValidator((NumberToByteConverter) converter);
} else if (converter instanceof NumberToShortConverter) {
result = new NumberToShortValidator((NumberToShortConverter) converter);
} else if (converter instanceof NumberToIntegerConverter) {
result = new NumberToIntegerValidator((NumberToIntegerConverter) converter);
} else if (converter instanceof NumberToLongConverter) {
result = new NumberToLongValidator((NumberToLongConverter) converter);
} else if (converter instanceof NumberToFloatConverter) {
result = new NumberToFloatValidator((NumberToFloatConverter) converter);
} else if (converter instanceof NumberToDoubleConverter) {