mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-22 19:49:20 +07:00
16 lines
763 B
Java
16 lines
763 B
Java
class FooBar<T> {
|
|
void foo(final FooBar<?> fooBar){
|
|
fooBar.supertype<error descr="'supertype(java.lang.Class<capture<?>>)' in 'FooBar' cannot be applied to '(java.lang.Class<java.lang.Iterable>)'">(Iterable.class)</error>;
|
|
}
|
|
|
|
void foo1(final FooBar<? super T> fooBar){
|
|
fooBar.supertype<error descr="'supertype(java.lang.Class<capture<? super T>>)' in 'FooBar' cannot be applied to '(java.lang.Class<java.lang.Iterable>)'">(Iterable.class)</error>;
|
|
}
|
|
|
|
void foo2(final FooBar<? extends T> fooBar){
|
|
fooBar.supertype<error descr="'supertype(java.lang.Class<? super capture<? extends T>>)' in 'FooBar' cannot be applied to '(java.lang.Class<java.lang.Iterable>)'">(Iterable.class)</error>;
|
|
}
|
|
|
|
void supertype(Class<? super T> superclass) {}
|
|
}
|