Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/changeParameterClass/previewWildcard.java
Andrey Cherkasov 36545aa244 [java-intentions] ChangeParameterClassFix: fixes after a review
IJ-CR-101642

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

20 lines
254 B
Java

// "Make 'a' implement 'b'" "true-preview"
interface b<T> {
void f(T t);
}
class a implements b<Integer> {
public void f(Integer integer) {
}
}
class X {
void h(b<? super Integer> i) {
}
void g() {
h(new a());
}
}