void (@NotNull PsiSwitchExpression expression) { super.visitSwitchExpression(expression); if (!hasErrorResults()) add(checkFeature(expression, HighlightingFeature.SWITCH_EXPRESSION)); checkSwitchBlock(expression); if (!hasErrorResults()) HighlightUtil.checkSwitchExpressionReturnTypeCompatible(expression, myErrorSink); if (!hasErrorResults()) HighlightUtil.checkSwitchExpressionHasResult(expression, myErrorSink); }