public void addPreKeyEventHandler(@NotNull Consumer<? super KeyEvent> preKeyEventHandler) {
    myPreKeyEventConsumers.add(preKeyEventHandler);
  }
public void addPreKeyEventHandler(@NotNull Consumer<? super KeyEvent> preKeyEventHandler)