code: static String requiresNotNullOrNotEmptyParameter(final String name, final String value) throws IllegalArgumentException {
          Assert.checkNotNullParam(name, value);
          Assert.checkNotEmptyParam(name, value);
          return value;
      }
docs: Checks if the parameter is {@code null} or empty and throws an {@link IllegalArgumentException} if it is.
  
  @param name  the name of the parameter
  @param value the value to check
  
  @return the parameter value
  
  @throws IllegalArgumentException if the object representing the parameter is {@code null}