Files
Andrey Cherkasov 36545aa244 [java-intentions] ChangeParameterClassFix: fixes after a review
IJ-CR-101642

GitOrigin-RevId: ed911621e808a7bf1ceff70a321685df424e3ec1
2023-03-01 18:12:42 +00:00

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>());
}
}