Add static modifier to @Produces fields in session beans
MSALEnsures that the fields annotated with @Produces which is inside the session bean (@Stateless, @Stateful, or @Singleton) are declared static.
org. openrewrite. java. migrate. AddStaticVariableOnProducerSessionBeanmod run . --recipe= org. openrewrite. java. migrate. AddStaticVariableOnProducerSessionBeanInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.