private static @NotNull Iterable<ActionToolbar> iterateToolbars(Iterable<? extends JComponent> roots) {
    return UIUtil.uiTraverser(null).withRoots(roots).preOrderDfsTraversal()
      .filter(ActionToolbar.class)
      .filter(toolbar -> {
        var c = toolbar.getComponent();
        return !Boolean.TRUE.equals(c.getClientProperty(ActionToolbarImpl.IMPORTANT_TOOLBAR_KEY))
          && !(c instanceof FloatingToolbarComponent);
      });
  }
private static @NotNull Iterable<ActionToolbar> iterateToolbars(Iterable<? extends JComponent> roots)