private void resetIfAllFiltered(AbstractTreeNode<?> root, ActionToolbar actionToolbar) {
    // This call must come first for correct hasVCSFilteredNodes call
    boolean hasChildren = myViewExtension.hasChildren(root);
    if (hasVCSFilteredNodes() && myStateBean.isShowOnlyModified() && myStateBean.isDefaultFilters()) {
      if (!hasChildren) {
        resetView(() -> myStateBean.setShowOnlyModified(false));
      }
      else {
        GotItTooltip gotIt = createGotIt();
        if (gotIt.canShow()) {
          final JComponent filterAction = ActionButtonUtil.findToolbarActionButton(actionToolbar, button -> button.getIcon() == FILTER_ICON);
          if (filterAction != null) {
            gotIt.show(filterAction, GotItTooltip.BOTTOM_MIDDLE);
          }
        }
      }
    }
  }
private void resetIfAllFiltered(AbstractTreeNode<?> root, ActionToolbar actionToolbar)