Files
Tagir Valeev 37c03b015c [java-intentions] IDEA-363734 "Make Xxx impelent Yyy" quick fix inserts @NotNull
GitOrigin-RevId: 4e9a3f94cf1aedadd0b2c4699e168ccb3be0e405
2024-12-03 14:25:33 +00:00

21 lines
283 B
Java

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