GitHub
Join us on Slack
Join us on Discord
Ask on Stack Overflow
Search…
⌃K
Links
Introduction to OpenRewrite
Running Recipes
Quickstart: Setting up your project and running recipes
Running Rewrite on a Gradle project without modifying the build
Running Rewrite on a Maven project without modifying the build
Running Rewrite without build tool plugins
Popular recipe guides
Authoring Recipes
Recipe development environment
Writing a Java refactoring recipe
Recipe testing
Recipe conventions and best practices
Modifying methods with JavaTemplate
Creating multiple visitors in one recipe
Writing recipes over multiple source file types
Using multiple versions of a library in a project
Changelog
7.38.0 Release (2023-03-15)
7.37.2 Release (2023-03-02)
7.36.0 Release (2023-02-16)
7.35.0 Release (2023-01-20)
7.34.2 Release (2022-12-16)
7.34.0 Release (2022-12-09)
7.33.0 Release (2022-11-16)
Reference
Latest versions of every OpenRewrite module
Maven plugin configuration
Gradle plugin configuration
Snapshot versions
JsonPath and JsonPathMatcher
Declarative YAML format
Method patterns
Dependency version selectors
Framework provided markers
Building OpenRewrite from source
Recipe catalog
CircleCI
Concourse
Github Actions
Java
Add ASLv2 license header
Add license header
Add or update annotation attribute
Change method access level
Change method name
Change method target to static
Change method target to variable
Change static field access to static method access
Change type
Delete method argument
Demonstrate rendering of Markup markers
Demonstrate rendering of recipe exceptions
Order imports
Randomize tree IDs
Remove annotation
Remove interface implementations
Remove static import
Remove unused imports
Rename package name
Reorder method arguments
Replace String literal with constant
Replace constant with literal value
Simplify a call chain
Transform calls to Objects.isNull(..) and Objects.nonNull(..)
Update source positions
Use static import
Uses @RewriteSkip annotation
Cleanup
Controlflow
Dependencies
Format
JHipster
Logging
Micronaut
Modernize
Add JDeprScan Maven Plug-in
Add Maven Jar Plugin to suppress Illegal Reflection Warnings
Change Maven Java version property values to 11
Change Maven Java version property values to 17
Migrate to Java 11
Migrate to Java 17
Prefer java.util.Base64 instead of sun.misc
Upgrade Java version
Apache
Cobertura
Guava
Hibernate
JaCoCo
Jakarta
Lombok
Maven
Metrics
Micrometer
Search
Wro4j
java.lang APIs
java.net APIs
java.sql APIs
java.util APIs
java.util.concurrent APIs
java.util.logging APIs
javax APIs
OpenRewrite best practices
Search
Security
Spring
Testing
Kubernetes
Quarkus
Maven
Terraform
Cloud suitability analyzer
Core
Config
Search
Gradle
Groovy
Hcl
JSON
Properties
XML
YAML
Concepts & Explanations
Lossless Semantic Trees (LST)
Java LST examples
YAML LST examples
TreeVisitingPrinter
Recipes
Visitors
Styles
Environment
Markers
JavaTemplate
Pointcut expressions
Powered By
GitBook
Metrics
Recipes
[Simplify
Micrometer
meter tags](./simplifymicrometermetertags.md)
Previous
Use Maven Compiler Plugin Release Configuration
Next
Search
Last modified
1mo ago