Migrate static OGNL method access to action wrapper methods

Proprietary

Migrates OGNL expressions using static method access (e.g., @com.app.Util@makeCode()) to use action wrapper methods instead. Static method access is disabled by default in Struts 6 for security reasons.

org.openrewrite.java.struts.migrate6.MigrateStaticOgnlMethodAccess
mod run . --recipe=org.openrewrite.java.struts.migrate6.MigrateStaticOgnlMethodAccess

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