class Preconditions {

  public static void notNull(Object parameter) {
    if (parameter == null) {
      throw new IllegalArgumentException("parameter cannot be null");
    }
  }

  private  Preconditions();

}