mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 09:20:53 +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) { }
|
|
} |