Remove @Nullable and @CheckForNull annotations from primitives

MSAL

Primitives can't be null anyway, so the javax.annotation.Nullable and javax.annotation.CheckForNull annotations are not useful in this context. Leaving them in place gives the false impression that a null value is possible, which can confuse readers and static analysis tools alike.

org.openrewrite.staticanalysis.UnnecessaryPrimitiveAnnotations
mod run . --recipe=org.openrewrite.staticanalysis.UnnecessaryPrimitiveAnnotations

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.