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 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
Changelog
Snapshot (2023-01-30)
Snapshot (2023-01-25)
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
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 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
Format
JHipster
Logging
Micronaut
Modernize
OpenRewrite best practices
Search
Find annotations
Find empty classes
Find fields
Find fields of type
Find files compiled at a specific Java version
Find files in a source set
Find literals
Find method usages
Find methods with empty bodies
Find missing type information on Java ASTs
Find plain text secrets
Find source files with imports
Find text
Find types
Find uses of @Repeatable annotations
Find uses of deprecated classes
Find uses of deprecated classes, methods, and fields
Find uses of deprecated fields
Find uses of deprecated methods
Finds flow between two methods
List potentially dead code by declared method
Result of method call ignored
URIs created with an HTTP scheme
Security
Spring
Testing
Kubernetes
Quarkus
Maven
Terraform
Cloud suitability analyzer
Core
Config
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
Search
Recipes
Find annotations
Find empty classes
Find fields
Find fields of type
Find files compiled at a specific Java version
Find files in a source set
Find literals
Find method usages
Find methods with empty bodies
Find missing type information on Java ASTs
Find plain text secrets
Find source files with imports
Find text
Find types
Find uses of
@Repeatable
annotations
Find uses of deprecated classes
Find uses of deprecated classes, methods, and fields
Find uses of deprecated fields
Find uses of deprecated methods
Finds flow between two methods
List potentially dead code by declared method
Result of method call ignored
URIs created with an HTTP scheme
Previous
Use a standard name for ExecutionContext
Next
Find annotations
Last modified
13d ago