class Objects {

  static <T> T requireNonNull(final T obj, final String message, final Object... args) {
    if (obj == null) {
      throw new NullPointerException(String.format(message, args));
    }
    return obj;
  }

  private  Objects();

}