Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createMethodFromUsage/afterExtendsFinalNested.java
Bart van Helvert e5fd0db64d [java-intentions] Improve create method preview
GitOrigin-RevId: 9121bbda07694cdacab3508a83a08ba10e465d28
2022-11-02 12:49:28 +00:00

15 lines
313 B
Java

// "Create method 'getPreloadKeys'" "true-preview"
import java.util.*;
class Foo<T>{
void test(Foo<String> f){
f.foo(getPreloadKeys());
}
private Collection<Collection<? extends String>> getPreloadKeys() {
return null;
}
void foo(Collection<Collection<? extends T>> c) {}
}