NullAway icon indicating copy to clipboard operation
NullAway copied to clipboard

add HandleTestLibraries

Open xenoterracide opened this issue 11 months ago • 2 comments

this should be a superset of HandleTestAssertionLibraries, meaning if you add this, that should be implied (IMHO)

However, things like this should be automatically added as well. Junit injects a file here so it would pragmatically never be null.

    option("NullAway:ExcludedFieldAnnotations", "org.junit.jupiter.api.io.TempDir")

I'm certain there are other annotations too.

xenoterracide avatar Dec 30 '24 19:12 xenoterracide

@xenoterracide I'd be open to just baking in some extra excluded field annotations and the like to better handle tests; I think that might be better than us adding yet another option.

msridhar avatar Jan 01 '25 01:01 msridhar

up to you ;)

xenoterracide avatar Jan 05 '25 21:01 xenoterracide