void (@NotNull PsiSwitchBlock switchBlock) { Collection<List<Rule>> probablySimilarRules = collectProbablySimilarRules(switchBlock); for (List<Rule> rules : probablySimilarRules) { registerProblems(rules); } }