code: public static <T> Consumer<T> ignore(Runnable runnable, Class<T> ignored) {
          dbc.precondition(runnable != null, "cannot ignore parameter of a null runnable");
          return first -> runnable.run();
      }
docs: Adapts a runnable to an consumer by ignoring the parameter.
  
  @param <T> the adapted consumer parameter type
  @param runnable the runnable to be adapted
  @param ignored the adapted consumer ignored parameter type class
  @return the adapted consumer