Static members should be accessed via the class name

MSAL

Accessing static fields or calling static methods on an instance reference is misleading. Static members should be accessed using the declaring class name instead.

org.openrewrite.staticanalysis.StaticAccessViaInstance
mod run . --recipe=org.openrewrite.staticanalysis.StaticAccessViaInstance

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.