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

10 lines
194 B
Java

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