private static List<PropertyBean> findActionsFor(Object object) {
      if (object instanceof PopupFactoryImpl.ActionItem item) {
        AnAction action = item.getAction();
        return UiInspectorUtil.collectAnActionInfo(action);
      }
      if (object instanceof IntentionActionDelegate actionDelegate) {
        IntentionAction delegate = IntentionActionDelegate.unwrap(actionDelegate.getDelegate());
        if (delegate != object) {
          return findActionsFor(delegate);
        }
      }
      else if (object instanceof IntentionAction action) {
        LocalQuickFix quickFix = QuickFixWrapper.unwrap(action);
        if (quickFix != null) {
          return findActionsFor(quickFix);
        }
        return Collections.singletonList(new PropertyBean("intention action", UiInspectorUtil.getClassPresentation(object), true));
      }
      else if (object instanceof QuickFix) {
        return Collections.singletonList(new PropertyBean("quick fix", UiInspectorUtil.getClassPresentation(object), true));
      }

      return Collections.emptyList();
    }
private static List<PropertyBean> findActionsFor(Object object)