☰
Debian Codegraph
@
3.2.0+ds-4
/
/
framework
/
tests
/
all-systems
/
GenericTest12.java
☽
☼
framework/tests/all-systems/GenericTest12.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
// Test case from Issue 142
2
abstract class GenericTest12 {
3
interface Task<V> {}
4
5
abstract <M> Task<M> create(Runnable runnable, M result);
6
7
void submit(Runnable runnable) {
8
Task<Void> task = create(runnable, null);
9
}
10
}