void (@NotNull AnActionEvent e) { if (e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT) == null) return; ListPopup listPopup = JBPopupFactory.getInstance().createActionGroupPopup(null, mySwitchContextGroup, e.getDataContext(), false, null, 10); listPopup.showUnderneathOf(myFilterContextButton); }