public void handleKeyEvent(@NotNull KeyEvent e) {
    if (e.getID() == KeyEvent.KEY_PRESSED && !e.isConsumed() && isMatched(e) && switchFocusToEditorIfSuitable()) {
      e.consume();
    }
  }
public void handleKeyEvent(@NotNull KeyEvent e)