public static <T> T checkNotNull(T obj,  String errorMessageTemplate, long p1) {
    if (obj == null) {
      throw new NullPointerException(format(errorMessageTemplate, p1));
    }
    return obj;
  }
Ensures that an object reference passed as a parameter to the calling method is not null.

<p>See {@link #checkNotNull(Object, String, Object...)} for details.
common/util/src/main/java/io/apiman/common/util/Preconditions.java