mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
11 lines
143 B
Java
11 lines
143 B
Java
interface I<T extends I<T>> {
|
|
T foo();
|
|
}
|
|
|
|
class C {
|
|
void baz(I<?> x) {
|
|
bar(x.foo(), x);
|
|
}
|
|
|
|
<T> void bar(T x, T y) { }
|
|
} |