mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
15 lines
200 B
Plaintext
15 lines
200 B
Plaintext
class Foreign {
|
|
void foo(Test1 test1) {
|
|
test1.field++;
|
|
}
|
|
}
|
|
|
|
public abstract class Test1 {
|
|
int field;
|
|
Foreign myForeign;
|
|
|
|
void bar () {
|
|
myForeign.foo(this);
|
|
}
|
|
}
|