protected void visitProblemSeverities(@NotNull Object2IntMap<HighlightDisplayLevel> counter) {
    for (InspectionTreeNode child : getChildren()) {
      for (LevelAndCount levelAndCount : child.getProblemLevels()) {
        counter.mergeInt(levelAndCount.getLevel(), levelAndCount.getCount(), Math::addExact);
      }
    }
  }
protected void visitProblemSeverities(@NotNull Object2IntMap<HighlightDisplayLevel> counter)