Add static modifier to @Produces fields in session beans

MSAL

Ensures that the fields annotated with @Produces which is inside the session bean (@Stateless, @Stateful, or @Singleton) are declared static.

org.openrewrite.java.migrate.AddStaticVariableOnProducerSessionBean
mod run . --recipe=org.openrewrite.java.migrate.AddStaticVariableOnProducerSessionBean

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