Files
openide/java/java-tests/testData/codeInsight/generation/surroundWith/java12/CaseThrowWithIf_after.java
T

12 lines
240 B
Java

class C {
void test(int n) {
String s = switch (n) {
case 1 -> {
if () {
throw new RuntimeException();
}
}
default -> "";
};
}
}