mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 20:50:54 +07:00
18 lines
253 B
Java
18 lines
253 B
Java
interface Root1 {
|
|
A get();
|
|
}
|
|
interface Root2 extends Root1 {
|
|
B get();
|
|
}
|
|
|
|
interface Child extends Root1, Root2 {
|
|
}
|
|
|
|
public class Test {
|
|
public void test(Child child) {
|
|
child.get<caret>x
|
|
}
|
|
}
|
|
|
|
interface A {}
|
|
interface B extends A {} |