private static @NotNull IdeFrameImpl getPopupFrame(@NotNull AnActionEvent e) {
    TabLabel label = (TabLabel)Objects.requireNonNull(e.getData(PlatformCoreDataKeys.CONTEXT_COMPONENT));
    return (IdeFrameImpl)label.getInfo().getObject();
  }
private static @NotNull IdeFrameImpl getPopupFrame(@NotNull AnActionEvent e)