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

13 lines
268 B
Java

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