MCPcopy Create free account
hub / github.com/spotbugs/spotbugs / report

Method report

spotbugsTestCases/src/java/nonnull/TestNonNull.java:20–23  ·  view source on GitHub ↗
(A a)

Source from the content-addressed store, hash-verified

18
19public 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

Callers

nothing calls this directly

Calls 1

fMethod · 0.65

Tested by

no test coverage detected