☰
Debian Codegraph
@
3.2.0+ds-4
/
/
checker
/
tests
/
nullness
/
generics
/
WildcardSubtypingTypeArray.java
☽
☼
checker/tests/nullness/generics/WildcardSubtypingTypeArray.java
code
plain
raw
GPL-2.0-with-classpath-exception
2004-2020 Checker Framework developers; 2004-2020 Michael Ernst <
[email protected]
>; 2004-2020 Werner M. Dietl <
[email protected]
>; 2004-2020 Suzanne Millstein <
[email protected]
>
debian/copyright
1
import java.util.List;
2
import org.checkerframework.checker.nullness.qual.*;
3
4
class WildcardSubtypingTypeArray<A extends @Nullable Object> {
5
void test(List<? extends A> list) {
6
test2(list.get(0));
7
}
8
9
void test2(A x) {};
10
}