Add comment to SimpleModule method calls on modules that no longer extend SimpleModule
Apache 2.0In Jackson 3, some modules (e.g. JodaModule) no longer extend SimpleModule and instead extend JacksonModule directly. This means methods like addSerializer() and addDeserializer() are no longer available on these types. This recipe adds a TODO comment to flag these call sites for manual migration.
org. openrewrite. java. jackson. CommentOutSimpleModuleMethodCallsmod run . --recipe= org. openrewrite. java. jackson. CommentOutSimpleModuleMethodCallsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.