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