Add @Nullable to parameters with an accepting null branch
ProprietaryAdds JSpecify @Nullable to an unannotated reference parameter of a public Java method when a structural null check returns normally for that input before its first use. Preserves explicit nullability contracts and rejecting guards; skips overrides and varargs. Broad exception fallbacks and nullable outputs alone do not establish nullable input contracts.
io. moderne. nullability. AddNullableToNullAcceptingParametermod run . --recipe= io. moderne. nullability. AddNullableToNullAcceptingParameterInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.