Members should not have names differing only by capitalization
MSALLooking at the set of methods and fields in a class and all of its parents, no two members should have names that differ only in capitalization. This rule will not report if a method overrides a parent method. Members with near-identical names are easily confused, leading to bugs where the wrong field or method is referenced.
org. openrewrite. staticanalysis. MemberNameCaseInsensitiveDuplicatesmod run . --recipe= org. openrewrite. staticanalysis. MemberNameCaseInsensitiveDuplicatesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.