class Preconditions {

  public static <T> T checkNotNull(T t, String message) {
    if (t == null) {
      throw new NullPointerException(message);
    }
    return t;
  }

  private  Preconditions();

}