@NotNull
  private static CaseLabelCombinationProblem getPatternConstantCombinationProblem(PsiCaseLabelElement anchor) {
    if (PsiUtil.isAvailable(JavaFeature.UNNAMED_PATTERNS_AND_VARIABLES, 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);
    }
  }
@NotNull
  private static CaseLabelCombinationProblem getPatternConstantCombinationProblem(PsiCaseLabelElement anchor)