Add @Introspected to classes requiring a map representation

Apache 2.0

In Micronaut 2.x a reflection-based strategy was used to retrieve that information if the class was not annotated with @Introspected. As of Micronaut 3.x it is required to annotate classes with @Introspected that are used in this way.

org.openrewrite.java.micronaut.TypeRequiresIntrospection
mod run . --recipe=org.openrewrite.java.micronaut.TypeRequiresIntrospection

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