Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/splitSwitchBranchWithSeveralCaseValues/afterMultiValueLabelFirstWithComments.java
Roman Ivanov 6371cde54c [java] fix usages after changing PSI structure
earlier we had PsiExpressionList, now it is PsiCaseLabelElementList

GitOrigin-RevId: 14b06afe93d631d12048539704cd6e71efc5d4ef
2021-06-11 17:35:47 +00:00

17 lines
384 B
Java

// "Split values of 'switch' branch" "true"
class C {
void test(int i) {
switch (i) {
// 1
case /*2*/1 /*3*/: // 4
// 5
System.out.println("hello");
break;
case 2:
// 5
System.out.println("hello");
break;
/*6*/
}
}
}