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
Blank lines
End files with a single newline
Format Java code
Normalize format
Normalize the line breaks
Normalize to tabs or spaces
Remove trailing whitespace
Single line comments begin with a whitespace
Spaces
Tabs and indents
Wrapping and braces
JHipster
Logging
Micronaut
Modernize
OpenRewrite best practices
Search
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
Format
Recipes
Blank lines
End files with a single newline
Format Java code
Normalize format
Normalize the line breaks
Normalize to tabs or spaces
Remove trailing whitespace
Single line comments begin with a whitespace
Spaces
Tabs and indents
Wrapping and braces
Previous
Control Flow Visualization
Next
Blank lines
Last modified
12d ago