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