boolean (List<OldSwitchStatementBranch> branches, PsiSwitchStatement switchStatement) { for (OldSwitchStatementBranch branch : branches) { if (branch.isDefault()) return true; if (existsDefaultLabelElement(branch.myLabelStatement)) return true; } CompletenessResult completenessResult = PatternsInSwitchBlockHighlightingModel.evaluateSwitchCompleteness(switchStatement); return completenessResult == CompletenessResult.COMPLETE_WITHOUT_UNCONDITIONAL || completenessResult == CompletenessResult.COMPLETE_WITH_UNCONDITIONAL; }