mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
19 lines
416 B
Java
19 lines
416 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="Expected 1 argument but found 0">()</error>;
|
|
}
|
|
}
|