code: private boolean validateMaxValue(Object validationObject, Annotation annotate)
      {
          if (checkNullObject(validationObject))
          {
              return true;
          }
  
          Long maxValue = ((Max) annotate).value();
          if (checkvalidDigitTypes(validationObject.getClass()))
          {
              if ((NumberUtils.toLong(toString(validationObject))) > maxValue)
              {
  
                  throwValidationException(((Max) annotate).message());
  
              }
          }
  
          return true;
      }
docs: Checks whether a given value is lesser than given max value or not
  
  @param validationObject
  @param annotate
  @return