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

Method other2

spotbugsTestCases/src/java/sfBugs/Bug3258757.java:29–31  ·  view source on GitHub ↗
(@CheckForNull String str)

Source from the content-addressed store, hash-verified

27 // this complains:
28 // H D NP: $L0 must be nonnull but is marked as nullable At Demo.java:[lines 27-28]
29 public static void other2(@CheckForNull String str) {
30 useString(str);
31 }
32
33 @CheckForNull
34 public static String getString() {

Callers

nothing calls this directly

Calls 1

useStringMethod · 0.95

Tested by

no test coverage detected