public static @Nullable Component getPopupToggleComponent(@NotNull JBPopup jbPopup) {
    return (Component)SoftReference.dereference((WeakReference<?>)jbPopup.getContent().getClientProperty(POPUP_TOGGLE_COMPONENT));
  }
public static @Nullable Component getPopupToggleComponent(@NotNull JBPopup jbPopup)