@Nullable PsiCaseLabelElementList getCaseLabelElementList(@NotNull PsiSwitchLabeledRuleStatement ruleStatement) {
      if (ruleStatement.isDefaultCase()) {
        PsiElementFactory factory = PsiElementFactory.getInstance(ruleStatement.getProject());
        PsiSwitchLabeledRuleStatement labelStatement =
          (PsiSwitchLabeledRuleStatement)factory.createStatementFromText("case default->{}", null);
        PsiStatement body = ruleStatement.getBody();
        if (body != null) {
          Objects.requireNonNull(labelStatement.getBody()).replace(body);
        }
        PsiSwitchLabeledRuleStatement newLabelStatement = (PsiSwitchLabeledRuleStatement)ruleStatement.replace(labelStatement);
        return newLabelStatement.getCaseLabelElementList();
      }
      return ruleStatement.getCaseLabelElementList();
    }
@Nullable PsiCaseLabelElementList getCaseLabelElementList(@NotNull PsiSwitchLabeledRuleStatement ruleStatement)