Nested enums are not static
MSALRemove static modifier from nested enum types since they are implicitly static. The redundant modifier adds visual noise and may mislead readers into thinking there is a non-static alternative.
org. openrewrite. staticanalysis. NestedEnumsAreNotStaticmod run . --recipe= org. openrewrite. staticanalysis. NestedEnumsAreNotStaticInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.