Files
openide/java/java-tests/testData/refactoring/introduceFunctionalParameter/afterThrownExceptionsAgree.java
T

19 lines
328 B
Java

class Test {
@FunctionalInterface
interface I {
void f() throws Exception;
}
void bar() throws Exception {
foo(new I() {
public void f() {
System.out.println("");
System.out.println("");
}
});
}
void foo(I anObject) throws Exception {
anObject.f();
}
}