Static methods need not be final
MSALStatic methods do not need to be declared final because they cannot be overridden. Redundant modifiers add noise to the code and can suggest a misunderstanding of the language's dispatch model.
org. openrewrite. staticanalysis. StaticMethodNotFinalmod run . --recipe= org. openrewrite. staticanalysis. StaticMethodNotFinalInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.