code: public static void checkNotNull(Object value, String message, Object... args) {
      if (value == null) {
        throw new NullPointerException(String.format(message, args));
      }
    }
docs: Validates that an argument is not null.
  
  @param value The value to check.
  @param message An exception message.
  @param args Exception message arguments.