mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
14 lines
161 B
Plaintext
14 lines
161 B
Plaintext
class Foreign {
|
|
void foo(Test test) {
|
|
test.field++;
|
|
}
|
|
}
|
|
|
|
class Test {
|
|
int field;
|
|
|
|
void bar () {
|
|
new Foreign().foo(this);
|
|
}
|
|
}
|