Hidden field
MSALRefactor local variables or parameters which shadow a field defined in the same class. Shadowing a field with a local variable of the same name makes it easy to accidentally reference the wrong one, leading to confusing bugs.
org. openrewrite. staticanalysis. HiddenFieldmod run . --recipe= org. openrewrite. staticanalysis. HiddenFieldInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.