Simplify single-element annotation
Apache 2.0This recipe will remove the attribute value on single-element annotations. According to JLS, a single-element annotation, is a shorthand designed for use with single-element annotation types.
org. openrewrite. java. SimplifySingleElementAnnotationmod run . --recipe= org. openrewrite. java. SimplifySingleElementAnnotationInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.