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

9 lines
188 B
Java

// "Split values of 'switch' branch" "true-preview"
class C {
void foo(String o) {
switch (o) {
case "42", String s when<caret> s.isEmpty() -> {}
}
}
}