Find static OGNL method access

Proprietary

Find OGNL expressions that use static method access (e.g., @com.app.Util@makeCode()), which is disabled by default in Struts 6 for security reasons. These expressions need to be migrated to use action instance methods instead.

org.openrewrite.java.struts.search.FindStaticOgnlMethodAccess
mod run . --recipe=org.openrewrite.java.struts.search.FindStaticOgnlMethodAccess

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