Debian Codegraph @

checker/tests/nullness/generics/SuperRawness.java

raw
1 import java.util.Arrays;
2 import java.util.Set;
3
4 class SuperRawness {
5 // :: warning: [unchecked] Possible heap pollution from parameterized vararg type
6 // java.util.Set<X>
7 static <X> void test(Set<X>... args) {
8 test2(Arrays.asList(args));
9 }
10
11 static <X> void test2(Iterable<Set<X>> args) {}
12 }