mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
18 lines
227 B
Java
18 lines
227 B
Java
interface Foreign {
|
|
}
|
|
|
|
class ForeignImpl implements Foreign {
|
|
}
|
|
|
|
|
|
public abstract class Test1 {
|
|
int field;
|
|
|
|
void <caret>foo (Foreign f) {
|
|
field++;
|
|
}
|
|
|
|
void bar () {
|
|
foo(new ForeignImpl());
|
|
}
|
|
} |