mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-03 15:50:52 +07:00
19 lines
440 B
Java
19 lines
440 B
Java
/** @noinspection UnusedDeclaration*/
|
|
interface TestIF2<T> extends TestIF3<T> {}
|
|
|
|
/** @noinspection UnusedDeclaration*/
|
|
interface TestIF<T extends TestIF2<? extends Test2>> {
|
|
void run(T o1);
|
|
}
|
|
|
|
/** @noinspection UnusedDeclaration*/
|
|
interface TestIF3<T> {}
|
|
|
|
class Test2 {}
|
|
|
|
class Test {
|
|
public void test(TestIF<?> testIF) {
|
|
testIF.run<error descr="'run(capture<?>)' in 'TestIF' cannot be applied to '()'">()</error>;
|
|
}
|
|
}
|