Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/boundedWildcard/afterGenericSuper.java
Mikhail Pyltsin 7dc38ce3d3 IJ-CR-101653 [intention-preview] SameErasureButDifferentMethodsFix. Added tests for preview
GitOrigin-RevId: 0e5dff40ab0e25033b6ca454e8737e46f18c1767
2023-02-03 00:32:39 +00:00

12 lines
255 B
Java

// "Fix method 'foo' parameters with bounded wildcards" "true-preview"
import java.util.List;
interface Xo<T> {
void foo(List<? super T> s);
}
public class ErrWarn implements Xo<String> {
public void <caret>foo(List<? super String> s) {
}
}