Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/patchMethodParams/afterWrapArray.java
Tagir Valeev c99da54bb4 [java-intentions] IDEA-299075 More scenarios for parameter fixes
1. Surround with array initialization
2. Apply .toArray() conversion
3. Limited vararg support
4. Limited qualifier propagation

GitOrigin-RevId: f81f593502df317b555e816af20cdec2d04488fc
2022-08-03 15:00:24 +00:00

8 lines
180 B
Java

// "Surround with array initialization" "true-preview"
import java.util.*;
public class Demo {
void test() {
Set<int[]> integers = Collections.singleton(new int[]{1});
}
}