mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
17 lines
279 B
Java
17 lines
279 B
Java
import java.io.IOException;
|
|
class Test {
|
|
void bar() throws IOException {}
|
|
|
|
I get() {
|
|
return <selection>new I() {
|
|
@Override
|
|
public void foo() throws IOException {
|
|
bar();
|
|
}
|
|
}</selection>;
|
|
}
|
|
}
|
|
|
|
interface I {
|
|
void foo() throws IOException;
|
|
} |