@Override
          public void popupMenuWillBecomeVisible(PopupMenuEvent e) {
            Object obj = e.getSource();
            JBPopupMenu menu = obj instanceof JBPopupMenu ? (JBPopupMenu)obj : null;
            popupInvoker.set(menu == null ? null : menu.getInvoker());
          }
@Override
          public void popupMenuWillBecomeVisible(PopupMenuEvent e)