CaseLabelCombinationProblem (PsiCaseLabelElement anchor) { if (HighlightingFeature.UNNAMED_PATTERNS_AND_VARIABLES.isAvailable(anchor)) { return new CaseLabelCombinationProblem(anchor, "invalid.case.label.combination.constants.and.patterns.unnamed", null); } else { return new CaseLabelCombinationProblem(anchor, "invalid.case.label.combination.constants.and.patterns", null); } }