Debian Codegraph @

checker/tests/nullness/java8/Issue720.java

raw
1 // Test case for issue #720:
2 // https://github.com/typetools/checker-framework/issues/720
3
4 import java.util.function.IntConsumer;
5
6 class Issue720 {
7 static IntConsumer consumer = Issue720::method;
8
9 static int method(int x) {
10 return x;
11 }
12 }