mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 17:38:08 +07:00
IJ-CR-101642 GitOrigin-RevId: ed911621e808a7bf1ceff70a321685df424e3ec1
16 lines
194 B
Java
16 lines
194 B
Java
// "Make 'a' implement 'b'" "true-preview"
|
|
interface b<T> {
|
|
void f(T t);
|
|
}
|
|
|
|
class a {}
|
|
|
|
class X {
|
|
void h(b<? super Integer> i) {
|
|
|
|
}
|
|
|
|
void g() {
|
|
h(new a<caret>());
|
|
}
|
|
} |