static void showUnderneathWithoutAlignment(@NotNull JBPopup popup, @NotNull Component parent) {
    if (popup instanceof AlignedPopup ap) {
      ap.showUnderneathOf(parent, false);
    }
    else {
      popup.showUnderneathOf(parent);
    }
  }
static void showUnderneathWithoutAlignment(@NotNull JBPopup popup, @NotNull Component parent)