blob: b5cee16b01e94fd91f78ac7aa4cde2079a6213d7 [file]
class Test {
@FunctionalInterface
interface I {
void f() throws Exception;
}
void bar() {
foo(new Runnable() {
public void run() {
System.out.println("");
System.out.println("");
}
});
}
void foo(Runnable anObject) {
anObject.run();
}
}