Copy non-inherited annotations from super class

Apache 2.0

As of Micronaut 3.x only annotations that are explicitly meta-annotated with @Inherited are inherited from parent classes and interfaces.

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

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