protected void validateFieldAsDouble(Field field, Object object, Errors errors)
{
DecimalConstraint req = field.getAnnotation(DecimalConstraint.class);
if (req.required() && validateNull(field, object)) errors.rejectValue(field.getName(), errorCodes[0]);
double min = req.minValue();
double max = req.maxValue();
validateNumber(min, max, field, object, errors);
}
protected void validateField(Field field, Object object, Errors errors)
{