Use JavaTemplate.apply() static method
MSALReplaces JavaTemplate.builder(template).build().apply(cursor, coordinates, args...) with JavaTemplate.apply(template, cursor, coordinates, args...) when the builder chain has no intermediate configuration methods.
org. openrewrite. java. recipes. UseJavaTemplateStaticApplymod run . --recipe= org. openrewrite. java. recipes. UseJavaTemplateStaticApplyInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.