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
Analysis
CircleCI
Cloud suitability analyzer
Concourse
Cucumber
GitHub Actions
Hibernate
Java
Add ASLv2 license header
Add imports for fully qualified references to types
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
Migrate from WebSphere traditional to Liberty
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
Apache
Dependencies
Format
JHipster
Liberty
Logging
Micronaut
Modernize
Add JDeprScan Maven Plug-in
Add Maven Jar Plugin to suppress Illegal Reflection Warnings
Add missing isWrapperFor and unwrap methods.
Adds missing JDBC interface methods.
Adds missing method implementations.
Adopt setLongThreadID in java.util.logging.LogRecord
Change Maven Java version property values to 11
Change Maven Java version property values to 17
Change Maven Java version property values to 21
Change method invocation return type
Force indentation to either tabs or spaces
MBean and MXBean interfaces must be public
Migrate to IBM Semeru Runtimes
Migrate to Java 11
Migrate to Java 17
Migrate to Java 21
Migrate to Java 6
Migrate to Java 7
Migrate to Java 8
Prefer java.util.Base64 instead of sun.misc
Replace DTO method parameters with data elements
Replace String literal
Set visibility of premain and agentmain methods to public
Upgrade Java version
Use SunJSSE instead of com.sun.net.ssl.internal.ssl.Provider
Use com.ibm.jsse2 instead of com.sun.net.ssl.internal.ssl
Use com.ibm.net.ssl.www2.protocol instead of com.sun.net.ssl.internal.www.protocol
Use com.ibm.net.ssl.www2.protocol.https.Handler instead of com.sun.net.ssl.internal.www.protocol.https.Handler
Use com.sun.xml.bind.v2.ContextFactory instead of com.sun.xml.internal.bind.v2.ContextFactory
Use java.security.cert instead of javax.security.cert
Apache
Cobertura
Guava
JaCoCo
Jakarta
Lombok
Convert @lombok.Value class to Record
Migrate Lombok to a Java 11 compatible version
Prefer final var
Maven
Metrics
Plexus
Search
Wro4j
java.io APIs
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
Upgrade
Jenkins
Kubernetes
XML
LaunchDarkly
Micrometer
Okio
OkHttp
Quarkus
Recommendations
Gradle
Maven
SQL
Static analysis and remediation
Terraform
Core
Config
Search
Text
Groovy
Hcl
JSON
Properties
YAML
Changelog
Reference
Concepts & explanations
Powered By
GitBook
Comment on page
Lombok
Composite Recipes
Recipes that include further recipes, often including the individual recipes below.
Migrate Lombok to a Java 11 compatible version
Recipes
Convert
@lombok.Value
class to Record
Prefer
final var
Previous
Use jakarta.xml.soap.SOAPFactory to create SOAPElements
Next
Convert @lombok.Value class to Record
Last modified
1mo ago