void (@NotNull AnActionEvent e) { if (myInfo.getNavigationHandler() != null) { MouseEvent mouseEvent = (MouseEvent)e.getInputEvent(); T element = myInfo.getElement(); if (element == null || !element.isValid()) return; myInfo.getNavigationHandler().navigate(mouseEvent, element); } }