mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
17 lines
240 B
Plaintext
17 lines
240 B
Plaintext
interface Foreign {
|
|
default void foo (Test1 test1) {
|
|
test1.field++;
|
|
}
|
|
}
|
|
|
|
class ForeignImpl implements Foreign {
|
|
}
|
|
|
|
|
|
public abstract class Test1 {
|
|
int field;
|
|
|
|
void bar () {
|
|
new ForeignImpl().foo(this);
|
|
}
|
|
} |