(A a)
| 18 | |
| 19 | public class TestNonNull implements B { |
| 20 | public void report(A a) { |
| 21 | // Report: first arg is declared @NonNull by A |
| 22 | a.f(null, new Object()); |
| 23 | } |
| 24 | |
| 25 | public void doNotReport(B b) { |
| 26 | // The B interface declared arg 2 to be @CheckForNull, so this is OK |