java:S2447 and Spotbugs vs. jsr305 annotations


it seems nowadays people are moving away from jsr305 annotations to other ones (see, for example,, for example the spotbugs or checker framework annotations. I tried to replace javax.annotation.CheckForNull with edu.umd.cs.findbugs.annotations.CheckForNull, but this triggers java:S2447, which wasn’t there before.

Poking at the code, I found, which seems to be missing that particular class. Oh, and S2447 isn’t using that helper class at all:

Regards, Tobias

PS: Other places I found with a cursory grep: