Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/splitSwitchBranchWithSeveralCaseValues/beforeRuleInExpression.java

9 lines
190 B
Java

// "Split values of 'switch' branch" "true"
class C {
void foo(int n) {
String s = switch (n) {
<caret>case 1, 2 -> "x";
default -> "";
};
}
}