class ArgumentChecker {

  public static <T> T notNullInjected(T parameter, String name) {
    if (parameter == null) {
      throw new IllegalArgumentException("Injected input parameter '" + name + "' must not be null");
    }
    return parameter;
  }

  private  ArgumentChecker();

}