GitHub
Join us on Slack
Join us on Discord
Ask on Stack Overflow
Search
⌃K
Links
Introduction to OpenRewrite
Running Recipes
Authoring Recipes
Recipe catalog
Kotlin
Python
CircleCI
Cloud suitability analyzer
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 another 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
Common static analysis issues cleanup
Controlflow
Dependencies
Format
JHipster
Logging
Micronaut
Modernize
OpenRewrite best practices
Search
Security
Spring
Testing
Kubernetes
Quarkus
Maven
Terraform
Core
Config
Text
Gradle
Groovy
Hcl
JSON
Properties
XML
YAML
Changelog
Reference
Concepts & explanations
Powered By
GitBook
Java
Basic building blocks for transforming Java code.
Categories
Common static analysis issues cleanup
Controlflow
Dependencies
Format
JHipster
Logging
Micronaut
Modernize
OpenRewrite best practices
Search
Security
Spring
Testing
Recipes
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 another 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
Previous
Use actions/setup-java temurin distribution as they are cached in hosted runners
Next
Add ASLv2 license header
Last modified
22d ago