Remove annotation attribute
Apache 2.0Some annotations accept arguments. This recipe removes an existing attribute.
org. openrewrite. java. RemoveAnnotationAttributeRequired
The fully qualified name of the annotation.
The name of attribute to remove.
mod run . --recipe= org. openrewrite. java. RemoveAnnotationAttribute \
-P annotationType= org. junit. Test \
-P attributeName= timeoutInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.