class ArgChecker {

  public static <T> T notNull(T argument, String name) {
    if (argument == null) {
      throw new IllegalArgumentException(notNullMsg(name));
    }
    return argument;
  }

  private  ArgChecker();

}