void (PsiSwitchBlock switchBlock) { if (SwitchUtils.isRuleFormatSwitch(switchBlock)) { visitEnhancedSwitch(switchBlock); return; } for (List<Branch> branches : collectProbablySimilarBranches(switchBlock)) { registerProblems(branches); } }