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

20 lines
287 B
Java

class Test {
public static void main(String[] args){
try {
I i = ExceptionTest::foo;
} catch (Exception e) {
// $
e.printStackTrace();
}
}
class Ex extends Exception {}
static void foo() throws Ex {}
interface I {
void f();
}
}