Finalize private fields
MSALAdds the final modifier keyword to private instance variables which are not reassigned.
org. openrewrite. staticanalysis. FinalizePrivateFieldsmod run . --recipe= org. openrewrite. staticanalysis. FinalizePrivateFieldsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.