class Preconditions {

  @SuppressWarnings("ConstantConditions")
  @NonNull
  public static <T> T checkNotNull(@NonNull final T object) {
    if (object == null) {
      throw new NullPointerException();
    }
    return object;
  }

  private  Preconditions();

}