class Args {

  public static <T> T notNull(final T argument, final String member) {
    if (argument == null) {
      throw new IllegalArgumentException(member + " may not be null");
    }
    return argument;
  }

}