mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 23:20:57 +07:00
21 lines
262 B
Plaintext
21 lines
262 B
Plaintext
|
|
class A<T> {
|
|
void moo(B b) {
|
|
System.out.println(b.foo);
|
|
}
|
|
|
|
class B {
|
|
private String foo;
|
|
|
|
public void run() {
|
|
new B() {
|
|
@Override
|
|
public void run() {
|
|
A.this.moo(this);
|
|
}
|
|
};
|
|
}
|
|
|
|
}
|
|
|
|
} |