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

16 lines
348 B
Java

class C {
void test(int n) {
String s = switch (n) {
case 1 -> "";
default -> {
try {
break "a" + "b";
} catch (Exception e) {
e.printStackTrace();
} finally {
}
}
;
};
}
}