mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 08:09:39 +07:00
17 lines
276 B
Plaintext
17 lines
276 B
Plaintext
class Test {
|
|
public Foo createFoo() {
|
|
return new Foo() {
|
|
public void bar() {
|
|
bar(1);
|
|
}
|
|
};
|
|
}
|
|
|
|
public void bar(int i) {
|
|
System.out.println(i);
|
|
}
|
|
|
|
public interface Foo {
|
|
void bar();
|
|
}
|
|
} |