boolean (@NotNull KeyEvent event) { if (myPopup != null && myPopup.list != null && myPopup.list.getSelectedIndex() != -1) { myPopup.list.dispatchEvent(event); return true; } handleEnter(); return false; }