@ApiStatus.Internal
  public final @NotNull List<AnAction> addExpandCollapseActions() {
    List<AnAction> result = new ArrayList<>();
    CommonActionsManager commonActionManager = CommonActionsManager.getInstance();
    result.add(commonActionManager.createExpandAllHeaderAction(getTree()));
    result.add(commonActionManager.createCollapseAllHeaderAction(getTree()));
    return result;
  }
@ApiStatus.Internal
  public final @NotNull List<AnAction> addExpandCollapseActions()