docs: @Deprecated
      public FormValidation doFieldCheck(@QueryParameter(fixEmpty=true) String value,
                                         @QueryParameter(fixEmpty=true) String type,
                                         @QueryParameter(fixEmpty=true) String errorText,
                                         @QueryParameter(fixEmpty=true) String warningText) {
          if (value == null) {
              if (errorText != null)
                  return FormValidation.error(errorText);
              if (warningText != null)
                  return FormValidation.warning(warningText);
              return FormValidation.error("No error or warning text was set for fieldCheck().");
          }
  
          if (type != null) {
              try {
                  if (type.equalsIgnoreCase("number")) {
                      NumberFormat.getInstance().parse(value);
                  } else if (type.equalsIgnoreCase("number-positive")) {
                      if (NumberFormat.getInstance().parse(value).floatValue() <= 0)
                          return FormValidation.error(Messages.Hudson_NotAPositiveNumber());
                  } else if (type.equalsIgnoreCase("number-negative")) {
                      if (NumberFormat.getInstance().parse(value).floatValue() >= 0)
                          return FormValidation.error(Messages.Hudson_NotANegativeNumber());
                  }
              } catch (ParseException e) {
                  return FormValidation.error(Messages.Hudson_NotANumber());
              }
          }
  
          return FormValidation.ok();
      }