mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 02:21:17 +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) { }
|
|
} |