General information

Report presents recipe tree based on the recipie choosen to generate it.
For each recipe the following information will be presented (based on availablilty):

Following information can be useful to get better understanding of changes that can be done by the recipe. Please be advise that not all recipies present in the tree may introduce changes.
This depends on the project and the need of changes based on the conditions within the recipe.

Recipe Report

com.sap.cx.rewrite.java.SelectiveCommerceCloudFrameworkUpdate

Name

SAP Commerce Cloud - Framework Update 2211.jdk21 root recipe

Description

This is the main recipe for updating SAP Commerce Cloud projects to be compatible with Spring 6 and JDK 21. Run this recipe to apply the most common and broadly required updates to source code, dependencies and configuration files - it helps with transition from Spring 5 and JDK 17. The update covers major framework changes, Jakarta namespace transitions and key library updates, orchestrating all included recipes needed for a typical updates. While this recipe automates most changes required for the update, some project-specific or less common changes may still need to be handled manually. Recommended as the primary entry point for SAP Commerce Cloud customers starting their platform update.

Tags

  • Java 21
  • SAP Commerce Cloud
  • Spring

Depth: 0

Included recipes

  • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

    Name

    Precondition bellwether

    Description

    Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

    Depth: 1

  • com.sap.cx.rewrite.java.spring.CommerceCloudJdk21AndSpring6Update

    Name

    JDK21 & Spring 6 Update with SAP adjustments.

    Description

    Applies JDK 21 and Spring 6 updates with additional SAP Commerce Cloud adjustments, coordinating related library and framework changes in one automated process.

    Depth: 1

    Included recipes

    • com.sap.cx.rewrite.java.spring.CommerceCloudSpring6Update

      Name

      Spring 6 Update with SAP adjustments.

      Description

      Updates SAP Commerce Cloud projects to Spring 6, including code, dependency, and configuration changes, with SAP-specific adjustments and compatibility fixes.

      Depth: 2

      Included recipes

      • com.sap.cx.rewrite.ParseExternalDependenciesAsMaven

        Name

        Parse `external-dependencies.xml` as a Maven file

        Description

        Parses `external-dependencies.xml` as a Maven file. This recipe can be added in a recipe chain ahead of other recipes that may update the dependencies in the Maven file.

        Depth: 3

      • org.openrewrite.java.RemoveAnnotation

        Name

        Remove annotation

        Description

        Remove matching annotations wherever they occur.

        Used Parameters

        Name Value Description
        annotationPattern
        @org.springframework.beans.factory.annotation.Required
        An annotation pattern, expressed as a method pattern.

        Depth: 3

      • com.sap.cx.rewrite.java.spring.boot3.UpgradeSpringBoot_3_3x

        Name

        Migrate to Spring Boot 3.3 SAP

        Description

        Migrate applications to the latest Spring Boot 3.3 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.2.

        Depth: 3

        Included recipes

        • com.sap.cx.rewrite.java.spring.boot3.UpgradeSpringBoot_3_2

          Name

          Migrate to Spring Boot 3.2 SAP

          Description

          Migrate applications to the latest Spring Boot 3.2 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.1.

          Depth: 4

          Included recipes

          • com.sap.cx.rewrite.java.spring.boot3.UpgradeSpringBoot_3_1

            Name

            Migrate to Spring Boot 3.1 SAP

            Description

            Migrate applications to the latest Spring Boot 3.1 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 3.0.

            Depth: 5

            Included recipes

            • com.sap.cx.rewrite.java.spring.boot3.UpgradeSpringBoot_3_0

              Name

              Migrate to Spring Boot 3.0 SAP

              Description

              Migrate applications to the latest Spring Boot 3.0 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 2.7.

              Depth: 6

              Included recipes

              • com.sap.cx.rewrite.java.spring.boot2.UpgradeSpringBoot_2_7

                Name

                Migrate to Spring Boot 2.7 SAP

                Description

                Upgrade to Spring Boot 2.7.

                Depth: 7

                Included recipes

                • com.sap.cx.rewrite.java.spring.boot2.UpgradeSpringBoot_2_6

                  Name

                  Migrate to Spring Boot 2.6 SAP

                  Description

                  Migrate applications to the latest Spring Boot 2.6 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 2.6.

                  Depth: 8

                  Included recipes

                  • com.sap.cx.rewrite.java.spring.boot2.UpgradeSpringBoot_2_5

                    Name

                    Upgrade to Spring Boot 2.5 SAP

                    Description

                    Upgrade to Spring Boot 2.5 from any prior 2.x version.

                    Depth: 9

                    Included recipes

                    • com.sap.cx.rewrite.java.spring.boot2.UpgradeSpringBoot_2_4

                      Name

                      Migrate to Spring Boot 2.4 SAP (exclude junit 5 update)

                      Description

                      Migrate applications to the latest Spring Boot 2.4 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 2.4.

                      Depth: 10

                      Included recipes

                      • com.sap.cx.rewrite.java.spring.boot2.UpgradeSpringBoot_2_3

                        Name

                        Migrate to Spring Boot 2.3 SAP

                        Description

                        Migrate applications to the latest Spring Boot 2.3 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 2.3.

                        Depth: 11

                        Included recipes

                        • com.sap.cx.rewrite.java.spring.boot2.UpgradeSpringBoot_2_2

                          Name

                          Migrate to Spring Boot 2.2 SAP

                          Description

                          Migrate applications to the latest Spring Boot 2.2 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 2.2.

                          Depth: 12

                          Included recipes

                          • com.sap.cx.rewrite.java.spring.boot2.UpgradeSpringBoot_2_1

                            Name

                            Migrate to Spring Boot 2.1 SAP

                            Description

                            Migrate applications to the latest Spring Boot 2.1 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 2.1.

                            Depth: 13

                            Included recipes

                            • com.sap.cx.rewrite.java.spring.boot2.UpgradeSpringBoot_2_0

                              Name

                              Migrate from Spring Boot 1.x to 2.0 SAP (exclude UpgradeApacheCommonsLang_2_3)

                              Description

                              Migrate Spring Boot 1.x applications to the latest Spring Boot 2.0 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions. This recipe will also chain additional framework migrations (Spring Framework, Spring Data, etc) that are required as part of the migration to Spring Boot 2.0.

                              Depth: 14

                              Included recipes

                              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                Name

                                Upgrade Gradle or Maven dependency versions

                                Description

                                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                Used Parameters

                                Name Value Description
                                groupId
                                org.springframework.boot
                                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                artifactId
                                *
                                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                newVersion
                                2.0.x
                                An exact version number or node-style semver selector used to select the version number.
                                overrideManagedVersion
                                false
                                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                                Depth: 15

                              • org.openrewrite.maven.UpgradePluginVersion

                                Name

                                Upgrade Maven plugin version

                                Description

                                Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                Used Parameters

                                Name Value Description
                                groupId
                                org.springframework.boot
                                The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                                artifactId
                                spring-boot-maven-plugin
                                The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                                newVersion
                                2.0.x
                                An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                                Depth: 15

                              • org.openrewrite.maven.UpgradeParentVersion

                                Name

                                Upgrade Maven parent project version

                                Description

                                Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                                Used Parameters

                                Name Value Description
                                groupId
                                org.springframework.boot
                                The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                                artifactId
                                spring-boot-starter-parent
                                The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                                newVersion
                                2.0.x
                                An exact version number or node-style semver selector used to select the version number.

                                Depth: 15

                              • org.openrewrite.gradle.plugins.UpgradePluginVersion

                                Name

                                Update a Gradle plugin by id

                                Description

                                Update a Gradle plugin by id to a later version.

                                Used Parameters

                                Name Value Description
                                pluginIdPattern
                                org.springframework.boot
                                The `ID` part of `plugin { ID }`, as a glob expression.
                                newVersion
                                2.0.x
                                An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                                Depth: 15

                              • org.openrewrite.gradle.spring.AddSpringDependencyManagementPlugin

                                Name

                                Add `io.spring.dependency-management` plugin, if in use

                                Description

                                Prior to Spring Boot 2.0 the dependency management plugin was applied automatically as part of the overall spring boot plugin. Afterwards the dependency-management plugin must be applied explicitly, or Gradle's `platform()` feature may be used instead. This recipe makes usage of io-spring.dependency-management explicit in anticipation of upgrade to Spring Boot 2.0 or later.

                                Depth: 15

                              • org.openrewrite.gradle.UpdateGradleWrapper

                                Name

                                Update Gradle wrapper

                                Description

                                Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

                                Used Parameters

                                Name Value Description
                                version
                                4.x
                                An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
                                addIfMissing
                                false
                                Add a Gradle wrapper, if it's missing. Defaults to `true`.

                                Depth: 15

                              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                Name

                                Upgrade Gradle or Maven dependency versions

                                Description

                                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                Used Parameters

                                Name Value Description
                                groupId
                                org.mockito
                                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                artifactId
                                *
                                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                newVersion
                                3.x
                                An exact version number or node-style semver selector used to select the version number.
                                overrideManagedVersion
                                false
                                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                                Depth: 15

                              • org.openrewrite.maven.RemoveProperty

                                Name

                                Remove Maven project property

                                Description

                                Removes the specified Maven project property from the pom.xml.

                                Used Parameters

                                Name Value Description
                                propertyName
                                thymeleaf.version
                                Key name of the property to remove.

                                Depth: 15

                              • org.openrewrite.java.dependencies.ChangeDependency

                                Name

                                Change Gradle or Maven dependency

                                Description

                                Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                                Used Parameters

                                Name Value Description
                                oldGroupId
                                org.webjars
                                The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                                oldArtifactId
                                webjars-locator
                                The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                                newGroupId
                                org.webjars
                                The new group ID to use. Defaults to the existing group ID.
                                newArtifactId
                                webjars-locator-core
                                The new artifact ID to use. Defaults to the existing artifact ID.
                                newVersion
                                ^0.35
                                An exact version number or node-style semver selector used to select the version number.

                                Depth: 15

                              • org.openrewrite.java.spring.boot2.MigrateToWebServerFactoryCustomizer

                                Name

                                Use `WebServerFactoryCustomizer`

                                Description

                                Use `WebServerFactoryCustomizer` instead of the deprecated `EmbeddedServletContainerCustomizer` in Spring Boot 2.0 or higher. This recipe will replace look for any classes that implement `EmbeddedServletContainerCustomizer` and change the interface to `WebServerFactoryCustomizer`. This recipe also adjusts the types used in the `customize()` method from `*EmbeddedServletContainerFactory` to their `*ServletWebServerFactory` counterparts.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.spring.boot2.ChangeEmbeddedServletContainerCustomizer

                                  Name

                                  Adjust configuration classes to use the `WebServerFactoryCustomizer` interface

                                  Description

                                  Find any classes implementing `EmbeddedServletContainerCustomizer` and change the interface to `WebServerFactoryCustomizer`.

                                  Depth: 16

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  org.springframework.boot.web.servlet.server.ConfigurableServletWebServerFactory
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainerFactory
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.springframework.boot.context.embedded.jetty.JettyEmbeddedServletContainerFactory
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  org.springframework.boot.web.embedded.jetty.JettyServletWebServerFactory
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.springframework.boot.context.embedded.undertow.UnderTowEmbeddedServletContainerFactory
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  org.springframework.boot.web.embedded.undertow.UnderTowServletWebServerFactory
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                              • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_0

                                Name

                                Migrate to Spring Framework 5.0

                                Description

                                Migrate applications to the latest Spring Framework 5.0 release.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.spring.framework.MigrateWebMvcConfigurerAdapter

                                  Name

                                  Replace `WebMvcConfigurerAdapter` with `WebMvcConfigurer`

                                  Description

                                  As of 5.0 `WebMvcConfigurer` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                                  Depth: 16

                                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                  Name

                                  Upgrade Gradle or Maven dependency versions

                                  Description

                                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                  Used Parameters

                                  Name Value Description
                                  groupId
                                  org.springframework.security
                                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                  artifactId
                                  *
                                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                  newVersion
                                  5.0.x
                                  An exact version number or node-style semver selector used to select the version number.
                                  overrideManagedVersion
                                  false
                                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                                  Depth: 16

                                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                  Name

                                  Upgrade Gradle or Maven dependency versions

                                  Description

                                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                  Used Parameters

                                  Name Value Description
                                  groupId
                                  org.springframework
                                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                  artifactId
                                  *
                                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                  newVersion
                                  5.0.x
                                  An exact version number or node-style semver selector used to select the version number.

                                  Depth: 16

                              • org.openrewrite.java.spring.boot2.MigrateSpringBootServletInitializerPackageName

                                Name

                                Use `org.springframework.boot.web.servlet.support.SpringBootServletInitializer`

                                Description

                                Use `org.springframework.boot.web.servlet.support.SpringBootServletInitializer` instead of the deprecated `org.springframework.boot.web.support.SpringBootServletInitializer` in Spring Boot 1.4 or higher.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.springframework.boot.web.support.SpringBootServletInitializer
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  org.springframework.boot.web.servlet.support.SpringBootServletInitializer
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                              • org.openrewrite.java.spring.boot2.MigrateHttpMessageConvertersPackageName

                                Name

                                Use `org.springframework.boot.autoconfigure.http.HttpMessageConverters`

                                Description

                                Use `org.springframework.boot.autoconfigure.http.HttpMessageConverters` instead of the deprecated `org.springframework.boot.autoconfigure.web.HttpMessageConverters` in Spring Boot 2.0 or higher.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.springframework.boot.autoconfigure.web.HttpMessageConverters
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  org.springframework.boot.autoconfigure.http.HttpMessageConverters
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                              • org.openrewrite.java.spring.boot2.MigrateErrorControllerPackageName

                                Name

                                Use `org.springframework.boot.web.servlet.error.ErrorController`

                                Description

                                Use `org.springframework.boot.web.servlet.error.ErrorController` instead of the deprecated `org.springframework.boot.autoconfigure.web.ErrorController` in Spring Boot 2.0 or higher.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.springframework.boot.autoconfigure.web.ErrorController
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  org.springframework.boot.web.servlet.error.ErrorController
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                              • org.openrewrite.java.spring.boot2.MigrateHibernateConstraintsToJavax

                                Name

                                Use `javax.validation.constraints`

                                Description

                                Use `javax.validation.constraints` instead of the deprecated `org.hibernate.validator.constraints` in Spring Boot 2.0 or higher.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.hibernate.validator.constraints.NotBlank
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  javax.validation.constraints.NotBlank
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                                • org.openrewrite.java.ChangeType

                                  Name

                                  Change type

                                  Description

                                  Change a given type to another.

                                  Used Parameters

                                  Name Value Description
                                  oldFullyQualifiedTypeName
                                  org.hibernate.validator.constraints.NotEmpty
                                  Fully-qualified class name of the original type.
                                  newFullyQualifiedTypeName
                                  javax.validation.constraints.NotEmpty
                                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                                  Depth: 16

                                • org.openrewrite.java.spring.boot2.MaybeAddJavaxValidationApi

                                  Name

                                  Add `javax.validation-api` dependency

                                  Description

                                  Conditional on the application using a version of Spring Boot which uses javax but provides a hibernate-validator version which exports the jakarta.validation-api instead

                                  Depth: 16

                                  Included recipes

                                  • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

                                    Name

                                    Precondition bellwether

                                    Description

                                    Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

                                    Depth: 17

                                  • org.openrewrite.java.dependencies.AddDependency

                                    Name

                                    Add Gradle or Maven dependency

                                    Description

                                    For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                                    Depth: 17

                                  • org.openrewrite.java.dependencies.AddDependency

                                    Name

                                    Add Gradle or Maven dependency

                                    Description

                                    For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                                    Depth: 17

                              • org.openrewrite.java.spring.boot2.MigrateLocalServerPortAnnotation

                                Name

                                Use `org.springframework.boot.web.server.LocalServerPort`

                                Description

                                Updates the package and adds the necessary dependency if `LocalServerPort` is in use. The package of `LocalServerPort` was changed in Spring Boot 2.0, necessitating changes.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.dependencies.AddDependency

                                  Name

                                  Add Gradle or Maven dependency

                                  Description

                                  For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                                  Used Parameters

                                  Name Value Description
                                  groupId
                                  org.springframework.boot
                                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                                  artifactId
                                  spring-boot-starter-web
                                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                                  version
                                  2.0.x
                                  An exact version number or node-style semver selector used to select the version number.
                                  onlyIfUsing
                                  org.springframework.boot.web.server.LocalServerPort
                                  Used to determine if the dependency will be added and in which scope it should be placed.

                                  Depth: 16

                              • org.openrewrite.java.spring.boot2.SpringBootProperties_2_0

                                Name

                                Migrate Spring Boot properties to 2.0

                                Description

                                Migrate properties found in `application.properties` and `application.yml`.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  banner.charset
                                  The property key to rename.
                                  newPropertyKey
                                  spring.banner.charset
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  banner.image.height
                                  The property key to rename.
                                  newPropertyKey
                                  spring.banner.image.height
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  banner.image.invert
                                  The property key to rename.
                                  newPropertyKey
                                  spring.banner.image.invert
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  banner.image.location
                                  The property key to rename.
                                  newPropertyKey
                                  spring.banner.image.location
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  banner.image.margin
                                  The property key to rename.
                                  newPropertyKey
                                  spring.banner.image.margin
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  banner.image.width
                                  The property key to rename.
                                  newPropertyKey
                                  spring.banner.image.width
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  banner.location
                                  The property key to rename.
                                  newPropertyKey
                                  spring.banner.location
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.baseline-description
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.baseline-description
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.baseline-on-migrate
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.baseline-on-migrate
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.baseline-version
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.baseline-version
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.check-location
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.check-location
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.clean-on-validation-error
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.clean-on-validation-error
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.encoding
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.encoding
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.init-sqls
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.init-sqls
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.locations
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.locations
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.out-of-order
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.out-of-order
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.password
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.password
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.placeholder-prefix
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.placeholder-prefix
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.placeholder-replacement
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.placeholder-replacement
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.placeholder-suffix
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.placeholder-suffix
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.placeholders
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.placeholders
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.schemas
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.schemas
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.sql-migration-prefix
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.sql-migration-prefix
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.sql-migration-separator
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.sql-migration-separator
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.sql-migration-suffix
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.sql-migration-suffixes
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.table
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.table
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.target
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.target
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.url
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.url
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.user
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.user
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  flyway.validate-on-migrate
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.validate-on-migrate
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  jolokia.config
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.jolokia.config
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.change-log
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.change-log
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.check-change-log-location
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.check-change-log-location
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.contexts
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.contexts
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.default-schema
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.default-schema
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.drop-first
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.drop-first
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.labels
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.labels
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.parameters
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.parameters
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.password
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.password
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.rollback-file
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.rollback-file
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.url
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.url
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  liquibase.user
                                  The property key to rename.
                                  newPropertyKey
                                  spring.liquibase.user
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  security.user.name
                                  The property key to rename.
                                  newPropertyKey
                                  spring.security.user.name
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  security.user.password
                                  The property key to rename.
                                  newPropertyKey
                                  spring.security.user.password
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  security.user.role
                                  The property key to rename.
                                  newPropertyKey
                                  spring.security.user.roles
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.context-parameters
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.context-parameters
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.context-path
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.context-path
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.display-name
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.application-display-name
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.jsp-servlet.class-name
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.jsp.class-name
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.jsp-servlet.init-parameters
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.jsp.init-parameters
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.jsp-servlet.registered
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.jsp.registered
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.servlet-path
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.path
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.cookie.comment
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.cookie.comment
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.cookie.domain
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.cookie.domain
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.cookie.http-only
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.cookie.http-only
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.cookie.max-age
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.cookie.max-age
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.cookie.name
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.cookie.name
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.cookie.path
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.cookie.path
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.cookie.secure
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.cookie.secure
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.persistent
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.persistent
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.store-dir
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.store-dir
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.timeout
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.timeout
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  server.session.tracking-modes
                                  The property key to rename.
                                  newPropertyKey
                                  server.servlet.session.tracking-modes
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.batch.initializer.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  spring.batch.initialize-schema
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.couchbase.env.endpoints.query
                                  The property key to rename.
                                  newPropertyKey
                                  spring.couchbase.env.endpoints.queryservice.max-endpoints
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.couchbase.env.endpoints.view
                                  The property key to rename.
                                  newPropertyKey
                                  spring.couchbase.env.endpoints.viewservice.max-endpoints
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.data.cassandra.connect-timeout-millis
                                  The property key to rename.
                                  newPropertyKey
                                  spring.data.cassandra.connect-timeout
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.data.cassandra.read-timeout-millis
                                  The property key to rename.
                                  newPropertyKey
                                  spring.data.cassandra.read-timeout
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.data.cassandra.repositories.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  spring.data.cassandra.repositories.type
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.data.couchbase.repositories.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  spring.data.couchbase.repositories.type
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.data.mongodb.repositories.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  spring.data.mongodb.repositories.type
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.datasource.initialize
                                  The property key to rename.
                                  newPropertyKey
                                  spring.datasource.initialization-mode
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.flyway.sql-migration-suffix
                                  The property key to rename.
                                  newPropertyKey
                                  spring.flyway.sql-migration-suffixes
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.git.properties
                                  The property key to rename.
                                  newPropertyKey
                                  spring.info.git.location
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.http.multipart.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  spring.servlet.multipart.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.http.multipart.file-size-threshold
                                  The property key to rename.
                                  newPropertyKey
                                  spring.servlet.multipart.file-size-threshold
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.http.multipart.location
                                  The property key to rename.
                                  newPropertyKey
                                  spring.servlet.multipart.location
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.http.multipart.max-file-size
                                  The property key to rename.
                                  newPropertyKey
                                  spring.servlet.multipart.max-file-size
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.http.multipart.max-request-size
                                  The property key to rename.
                                  newPropertyKey
                                  spring.servlet.multipart.max-request-size
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.http.multipart.resolve-lazily
                                  The property key to rename.
                                  newPropertyKey
                                  spring.servlet.multipart.resolve-lazily
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.jta.bitronix.properties.background-recovery-interval
                                  The property key to rename.
                                  newPropertyKey
                                  spring.jta.bitronix.properties.background-recovery-interval-seconds
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.main.show-banner
                                  The property key to rename.
                                  newPropertyKey
                                  spring.main.banner-mode
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.main.web-environment
                                  The property key to rename.
                                  newPropertyKey
                                  spring.main.web-application-type
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.messages.cache-seconds
                                  The property key to rename.
                                  newPropertyKey
                                  spring.messages.cache-duration
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.metrics.export.statsd.host
                                  The property key to rename.
                                  newPropertyKey
                                  management.metrics.export.statsd.host
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.metrics.export.statsd.port
                                  The property key to rename.
                                  newPropertyKey
                                  management.metrics.export.statsd.port
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.mvc.media-types
                                  The property key to rename.
                                  newPropertyKey
                                  spring.mvc.contentnegotiation.media-types
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.redis.pool.max-active
                                  The property key to rename.
                                  newPropertyKey
                                  spring.redis.jedis.pool.max-idle
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.redis.pool.max-idle
                                  The property key to rename.
                                  newPropertyKey
                                  spring.redis.jedis.pool.max-idle
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.redis.pool.max-wait
                                  The property key to rename.
                                  newPropertyKey
                                  spring.redis.jedis.pool.max-wait
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.redis.pool.min-idle
                                  The property key to rename.
                                  newPropertyKey
                                  spring.redis.jedis.pool.min-idle
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.resources.cache-period
                                  The property key to rename.
                                  newPropertyKey
                                  spring.resources.cache.period
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.session.jdbc.initializer.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  spring.session.jdbc.initialize-schema
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.session.mongo.collection-name
                                  The property key to rename.
                                  newPropertyKey
                                  spring.session.mongodb.collection-name
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  spring.thymeleaf.content-type
                                  The property key to rename.
                                  newPropertyKey
                                  spring.thymeleaf.servlet.content-type
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.auditevents.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.auditevents.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.auditevents.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.auditevents
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.autoconfig.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.conditions.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.autoconfig.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.conditions
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.beans.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.beans.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.beans.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.beans
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.configprops.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.configprops.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.configprops.keys-to-sanitize
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.configprops.keys-to-sanitize
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.configprops.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.configprops
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.cors.allow-credentials
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.cors.allow-credentials
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.cors.allowed-headers
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.cors.allowed-headers
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.cors.allowed-methods
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.cors.allowed-methods
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.cors.allowed-origins
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.cors.allowed-origins
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.cors.exposed-headers
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.cors.exposed-headers
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.cors.max-age
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.cors.max-age
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.dump.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.threaddump.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.dump.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.dump
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.enabled-by-default
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.env.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.env.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.env.keys-to-sanitize
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.env.keys-to-sanitize
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.env.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.env
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.flyway.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.flyway.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.health.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.health.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.health.mapping
                                  The property key to rename.
                                  newPropertyKey
                                  management.health.status.http-mapping
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.health.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.health
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.health.time-to-live
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.health.cache.time-to-live
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.heapdump.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.heapdump.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.heapdump.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.heapdump
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.info.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.info.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.info.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.info
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.jmx.domain
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.jmx.domain
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.jmx.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.jmx.exposure.exclude
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.jmx.static-names
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.jmx.static-names
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.jmx.unique-names
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.jmx.unique-names
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.jolokia.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.jolokia.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.jolokia.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.jolokia
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.liquibase.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.liquibase.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.logfile.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.logfile.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.logfile.external-file
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.logfile.external-file
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.logfile.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.logfile
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.loggers.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.loggers.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.loggers.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.loggers
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.mappings.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.mappings.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.mappings.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.mappings
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.metrics.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.metrics.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.metrics.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.metrics
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.shutdown.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.shutdown.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.shutdown.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.shutdown
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.trace.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoint.httptrace.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.trace.filter.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.trace.http.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  endpoints.trace.path
                                  The property key to rename.
                                  newPropertyKey
                                  management.endpoints.web.path-mapping.httptrace
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.add-application-context-header
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.add-application-context-header
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.address
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.address
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.context-path
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.servlet.context-path
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.port
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.port
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.ciphers
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.ciphers
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.client-auth
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.client-auth
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.enabled
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.enabled
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.enabled-protocols
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.enabled-protocols
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.key-alias
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.key-alias
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.key-password
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.key-password
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.key-store
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.key-store
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.key-store-password
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.key-store-password
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.key-store-provider
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.key-store-provider
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.key-store-type
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.key-store-type
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.protocol
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.protocol
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.trust-store
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.trust-store
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.trust-store-password
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.trust-store-password
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.trust-store-provider
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.trust-store-provider
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.ssl.trust-store-type
                                  The property key to rename.
                                  newPropertyKey
                                  management.server.ssl.trust-store-type
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  management.trace.include
                                  The property key to rename.
                                  newPropertyKey
                                  management.trace.http.include
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  security.filter-dispatcher-types
                                  The property key to rename.
                                  newPropertyKey
                                  spring.security.filter.dispatcher-types
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                  Name

                                  Change the key of a spring application property

                                  Description

                                  Change spring application property keys existing in either Properties or Yaml files.

                                  Used Parameters

                                  Name Value Description
                                  oldPropertyKey
                                  security.filter-order
                                  The property key to rename.
                                  newPropertyKey
                                  spring.security.filter.order
                                  The new name for the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.actuator.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The "actuator" endpoint is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.actuator.path
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The "actuator" endpoint is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.actuator.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The "actuator" endpoint is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.auditevents.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.autoconfig.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.autoconfig.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.beans.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.beans.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.configprops.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.configprops.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.docs.curies.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The "docs" endpoint is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.docs.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The "docs" endpoint is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.docs.path
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The "docs" endpoint is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.docs.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The "docs" endpoint is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.dump.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.dump.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.env.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.env.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.flyway.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.flyway.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.health.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.health.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.heapdump.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.hypermedia.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Hypermedia support in the Actuator is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.info.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.info.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.jolokia.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.liquibase.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.liquibase.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.logfile.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.loggers.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.loggers.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.mappings.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.mappings.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.metrics.filter.counter-submissions
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.metrics.filter.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.metrics.filter.gauge-submissions
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.metrics.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.metrics.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.shutdown.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.shutdown.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.trace.id
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint identifier is no longer customizable.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  endpoints.trace.sensitive
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Endpoint sensitive flag is no longer customizable as Spring Boot no longer provides a customizable security auto-configuration . Create or adapt your security configuration accordingly.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  flyway.init-description
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  flyway.init-on-migrate
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  flyway.init-version
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.health.couchbase.timeout
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.metrics.export.statsd.queue-size
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.security.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: A global security auto-configuration is now provided. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.security.roles
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.security.sessions
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.auth.jaas.domain
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.auth.key.path
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.auth.simple.user.name
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.auth.simple.user.password
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.auth.spring.roles
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.auth.type
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.command-path-patterns
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.command-refresh-interval
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.config-path-patterns
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.disabled-commands
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.disabled-plugins
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.ssh.auth-timeout
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.ssh.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.ssh.idle-timeout
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.ssh.key-path
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.ssh.port
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.telnet.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  management.shell.telnet.port
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: CRaSH support is no longer available.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.basic.authorize-mode
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.basic.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.basic.path
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.basic.realm
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.enable-csrf
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.headers.cache
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.headers.content-security-policy
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.headers.content-security-policy-mode
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.headers.content-type
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.headers.frame
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.headers.hsts
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.headers.xss
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.ignored
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.require-ssl
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  security.sessions
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The security auto-configuration is no longer customizable. Provide your own WebSecurityConfigurer bean instead.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  server.max-http-post-size
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Use dedicated property for each container.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  server.undertow.buffers-per-region
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.activemq.pool.create-connection-on-startup
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.activemq.pool.expiry-timeout
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Use idle-timeout instead
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.activemq.pool.reconnect-on-exception
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Disabling this option will likely lead to broken connections in the pool.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.application.index
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Application context ids are now unique by default.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.data.neo4j.compiler
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Not supported anymore as of Neo4j 3.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.datasource.hikari.initialization-fail-fast
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.datasource.hikari.jdbc4-connection-test
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.datasource.hikari.scheduled-executor-service
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated and will be removed in future Spring Boot versions
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.devtools.remote.debug.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Remote debug is no longer supported.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.devtools.remote.debug.local-port
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Remote debug is no longer supported.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.jpa.hibernate.naming.strategy
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Auto-configuration for Hibernate 4 is no longer provided.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.aggregate.key-pattern
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.aggregate.prefix
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.delay-millis
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.enabled
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.excludes
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.includes
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.redis.key
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.redis.prefix
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.send-latest
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.statsd.prefix
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.metrics.export.triggers
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: Metrics support is now using Micrometer.
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.sendgrid.password
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The use of a username and password is no longer supported (Use spring.sendgrid.api-key instead).
                                  Comment to replace the property key.

                                  Depth: 16

                                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                  Name

                                  Comment out Spring properties

                                  Description

                                  Add comment to specified Spring properties, and comment out the property.

                                  Used Parameters

                                  Name Value Description
                                  propertyKey
                                  spring.sendgrid.username
                                  The name of the property key to comment out.
                                  comment
                                  This property is deprecated: The use of a username and password is no longer supported (Use spring.sendgrid.api-key instead).
                                  Comment to replace the property key.

                                  Depth: 16

                              • org.openrewrite.java.spring.ChangeSpringPropertyValue

                                Name

                                Change the value of a spring application property

                                Description

                                Change spring application property values existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.main.banner-mode
                                The name of the property key whose value is to be changed.
                                newValue
                                console
                                The new value to be used for key specified by `propertyKey`.
                                oldValue
                                true
                                Only change the property value if it matches the configured `oldValue`.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyValue

                                Name

                                Change the value of a spring application property

                                Description

                                Change spring application property values existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.main.banner-mode
                                The name of the property key whose value is to be changed.
                                newValue
                                off
                                The new value to be used for key specified by `propertyKey`.
                                oldValue
                                false
                                Only change the property value if it matches the configured `oldValue`.

                                Depth: 15

                              • org.openrewrite.java.spring.NoRequestMappingAnnotation

                                Name

                                Remove `@RequestMapping` annotations

                                Description

                                Replace method declaration `@RequestMapping` annotations with `@GetMapping`, `@PostMapping`, etc. when possible.

                                Depth: 15

                              • org.openrewrite.java.spring.boot2.UnnecessarySpringExtension

                                Name

                                Remove `@SpringExtension`

                                Description

                                `@SpringBootTest` and all test slice annotations already applies `@SpringExtension` as of Spring Boot 2.1.0.

                                Depth: 15

                              • org.openrewrite.java.spring.NoAutowiredOnConstructor

                                Name

                                Remove the `@Autowired` annotation on inferred constructor

                                Description

                                Spring can infer an autowired constructor when there is a single constructor on the bean. This recipe removes unneeded `@Autowired` annotations on constructors.

                                Depth: 15

                              • org.openrewrite.java.spring.boot2.RestTemplateBuilderRequestFactory

                                Name

                                Migrate `RestTemplateBuilder`

                                Description

                                Migrate `RestTemplateBuilder#requestFactory` calls to use a `Supplier`. See the [migration guide](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.0-Migration-Guide#resttemplatebuilder) for more.

                                Depth: 15

                              • org.openrewrite.java.spring.boot2.ReplaceDeprecatedEnvironmentTestUtils

                                Name

                                Replace `EnvironmentTestUtils` with `TestPropertyValues`

                                Description

                                Replaces any references to the deprecated `EnvironmentTestUtils` with `TestPropertyValues` and the appropriate functionality.

                                Depth: 15

                              • org.openrewrite.java.spring.framework.BeanMethodsNotPublic

                                Name

                                Remove `public` from `@Bean` methods

                                Description

                                Remove public modifier from `@Bean` methods. They no longer have to be public visibility to be usable by Spring.

                                Depth: 15

                              • org.openrewrite.java.spring.data.MigrateAuditorAwareToOptional

                                Name

                                Make AuditorAware.getCurrentAuditor return `Optional`

                                Description

                                As of Spring boot 2.0, the `AuditorAware.getCurrentAuditor` method should return an `Optional`. This recipe will update the implementations of this method to return an `Optional` using the `ofNullable`.

                                Depth: 15

                            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                              Name

                              Upgrade Gradle or Maven dependency versions

                              Description

                              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                              Used Parameters

                              Name Value Description
                              groupId
                              org.springframework.boot
                              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              artifactId
                              *
                              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              newVersion
                              2.1.x
                              An exact version number or node-style semver selector used to select the version number.
                              overrideManagedVersion
                              false
                              For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                              Depth: 14

                            • org.openrewrite.maven.UpgradePluginVersion

                              Name

                              Upgrade Maven plugin version

                              Description

                              Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                              Used Parameters

                              Name Value Description
                              groupId
                              org.springframework.boot
                              The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                              artifactId
                              spring-boot-maven-plugin
                              The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                              newVersion
                              2.1.x
                              An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                              Depth: 14

                            • org.openrewrite.maven.UpgradeParentVersion

                              Name

                              Upgrade Maven parent project version

                              Description

                              Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                              Used Parameters

                              Name Value Description
                              groupId
                              org.springframework.boot
                              The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                              artifactId
                              spring-boot-starter-parent
                              The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                              newVersion
                              2.1.x
                              An exact version number or node-style semver selector used to select the version number.

                              Depth: 14

                            • org.openrewrite.gradle.plugins.UpgradePluginVersion

                              Name

                              Update a Gradle plugin by id

                              Description

                              Update a Gradle plugin by id to a later version.

                              Used Parameters

                              Name Value Description
                              pluginIdPattern
                              org.springframework.boot
                              The `ID` part of `plugin { ID }`, as a glob expression.
                              newVersion
                              2.1.x
                              An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                              Depth: 14

                            • org.openrewrite.gradle.plugins.UpgradePluginVersion

                              Name

                              Update a Gradle plugin by id

                              Description

                              Update a Gradle plugin by id to a later version.

                              Used Parameters

                              Name Value Description
                              pluginIdPattern
                              io.spring.dependency-management
                              The `ID` part of `plugin { ID }`, as a glob expression.
                              newVersion
                              1.0.10.RELEASE
                              An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                              Depth: 14

                            • org.openrewrite.gradle.UpdateGradleWrapper

                              Name

                              Update Gradle wrapper

                              Description

                              Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

                              Used Parameters

                              Name Value Description
                              version
                              ^4.4
                              An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
                              addIfMissing
                              false
                              Add a Gradle wrapper, if it's missing. Defaults to `true`.

                              Depth: 14

                            • org.openrewrite.java.spring.boot2.MigrateRestTemplateBuilderBasicAuthorization

                              Name

                              Use `RestTemplateBuilder#basicAuthentication`

                              Description

                              `RestTemplateBuilder#basicAuthorization` was deprecated in 2.1.

                              Depth: 14

                              Included recipes

                              • org.openrewrite.java.ChangeMethodName

                                Name

                                Change method name

                                Description

                                Rename a method.

                                Used Parameters

                                Name Value Description
                                methodPattern
                                org.springframework.boot.web.client.RestTemplateBuilder basicAuthorization(String, String)
                                A method pattern that is used to find matching method declarations/invocations.
                                newMethodName
                                basicAuthentication
                                The method name that will replace the existing name.

                                Depth: 15

                            • org.openrewrite.java.spring.boot2.MigrateRestTemplateBuilderTimeoutByInt

                              Name

                              Use `RestTemplateBuilder#setConnectTimeout(Duration)` and `RestTemplateBuilder#setReadTimeout(Duration)`

                              Description

                              `RestTemplateBuilder#setConnectTimeout(int)` and `RestTemplateBuilder#setReadTimeout(int)` were deprecated in Spring Boot 2.1.

                              Depth: 14

                            • org.openrewrite.java.spring.boot2.MigrateMultipartConfigFactory

                              Name

                              Use `MultipartConfigFactory` with `DataSize` arguments

                              Description

                              Methods to set `DataSize` with primitive arguments were deprecated in 2.1 and removed in 2.2.

                              Depth: 14

                            • org.openrewrite.java.spring.boot2.SpringBootProperties_2_1

                              Name

                              Migrate Spring Boot properties to 2.1

                              Description

                              Migrate properties found in `application.properties` and `application.yml`.

                              Depth: 14

                              Included recipes

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                management.endpoints.jmx.unique-names
                                The property key to rename.
                                newPropertyKey
                                spring.jmx.unique-names
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                management.metrics.binders.files.enabled
                                The property key to rename.
                                newPropertyKey
                                management.metrics.enable.process.files
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                management.metrics.binders.jvm.enabled
                                The property key to rename.
                                newPropertyKey
                                management.metrics.enable.jvm
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                management.metrics.binders.logback.enabled
                                The property key to rename.
                                newPropertyKey
                                management.metrics.enable.logback
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                server.jetty.max-http-post-size
                                The property key to rename.
                                newPropertyKey
                                server.jetty.max-http-form-post-size
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                server.servlet-path
                                The property key to rename.
                                newPropertyKey
                                spring.mvc.servlet.path
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                server.servlet.path
                                The property key to rename.
                                newPropertyKey
                                spring.mvc.servlet.path
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                server.tomcat.max-http-header-size
                                The property key to rename.
                                newPropertyKey
                                server.max-http-header-size
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                server.tomcat.max-http-post-size
                                The property key to rename.
                                newPropertyKey
                                server.tomcat.max-http-form-post-size
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.activemq.pool.maximum-active-session-per-connection
                                The property key to rename.
                                newPropertyKey
                                spring.activemq.pool.max-sessions-per-connection
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.artemis.pool.maximum-active-session-per-connection
                                The property key to rename.
                                newPropertyKey
                                spring.artemis.pool.max-sessions-per-connection
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.admin.ssl.keystore-location
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.admin.ssl.key-store-location
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.admin.ssl.keystore-password
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.admin.ssl.key-store-password
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.admin.ssl.truststore-location
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.admin.ssl.trust-store-location
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.admin.ssl.truststore-password
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.admin.ssl.trust-store-password
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.consumer.ssl.keystore-location
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.consumer.ssl.key-store-location
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.consumer.ssl.keystore-password
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.consumer.ssl.key-store-password
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.consumer.ssl.truststore-location
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.consumer.ssl.trust-store-location
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.consumer.ssl.truststore-password
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.consumer.ssl.trust-store-password
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.producer.ssl.keystore-location
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.producer.ssl.key-store-location
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.producer.ssl.keystore-password
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.producer.ssl.key-store-password
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.producer.ssl.truststore-location
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.producer.ssl.trust-store-location
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.producer.ssl.truststore-password
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.producer.ssl.trust-store-password
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.ssl.keystore-location
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.ssl.key-store-location
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.ssl.keystore-password
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.ssl.key-store-password
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.ssl.truststore-location
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.ssl.trust-store-location
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.ssl.truststore-password
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.ssl.trust-store-password
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.kafka.streams.cache-max-bytes-buffering
                                The property key to rename.
                                newPropertyKey
                                spring.kafka.streams.cache-max-size-buffering
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.mvc.formcontent.putfilter.enabled
                                The property key to rename.
                                newPropertyKey
                                spring.mvc.formcontent.filter.enabled
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.rabbitmq.template.queue
                                The property key to rename.
                                newPropertyKey
                                spring.rabbitmq.template.default-receive-queue
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                                Name

                                Change the key of a spring application property

                                Description

                                Change spring application property keys existing in either Properties or Yaml files.

                                Used Parameters

                                Name Value Description
                                oldPropertyKey
                                spring.resources.chain.gzipped
                                The property key to rename.
                                newPropertyKey
                                spring.resources.chain.compressed
                                The new name for the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                liquibase.check-change-log-location
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Liquibase has its own check that checks if the change log location exists making this property redundant.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                management.metrics.binders.processor.enabled
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Instead, filter 'system.cpu' and 'process.cpu' metrics.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                management.metrics.binders.uptime.enabled
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Instead, filter 'process.uptime' and 'process.start.time' metrics.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                server.connection-timeout
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Each server behaves differently. Use server specific properties instead.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.couchbase.env.endpoints.query
                                The name of the property key to comment out.
                                comment
                                This property is deprecated and will be removed in future Spring Boot versions
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.couchbase.env.endpoints.view
                                The name of the property key to comment out.
                                comment
                                This property is deprecated and will be removed in future Spring Boot versions
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.data.cassandra.load-balancing-policy
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Implement a ClusterBuilderCustomizer bean instead.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.data.cassandra.reconnection-policy
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Implement a ClusterBuilderCustomizer bean instead.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.data.cassandra.retry-policy
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Implement a ClusterBuilderCustomizer bean instead.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.flyway.dry-run-output
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Flyway pro edition only.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.flyway.error-handlers
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Flyway pro edition only.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.flyway.undo-sql-migration-prefix
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Flyway pro edition only.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.default-timeout
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.expiry-scanners
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.log-dir
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.one-phase-commit
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.periodic-recovery-period
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.recovery-backoff-period
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.recovery-db-pass
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.recovery-db-user
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.recovery-jms-pass
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.recovery-jms-user
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.recovery-modules
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.transaction-manager-id
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.jta.narayana.xa-resource-orphan-filters
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Narayana support has moved to third party starter.
                                Comment to replace the property key.

                                Depth: 15

                              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                                Name

                                Comment out Spring properties

                                Description

                                Add comment to specified Spring properties, and comment out the property.

                                Used Parameters

                                Name Value Description
                                propertyKey
                                spring.liquibase.check-change-log-location
                                The name of the property key to comment out.
                                comment
                                This property is deprecated: Liquibase has it's own check that checks if the change log location exists making this property redundant.
                                Comment to replace the property key.

                                Depth: 15

                          • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_2

                            Name

                            Migrate to Spring Framework 5.2

                            Description

                            Migrate applications to the latest Spring Framework 5.2 release.

                            Depth: 13

                            Included recipes

                            • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_1

                              Name

                              Migrate to Spring Framework 5.1

                              Description

                              Migrate applications to the latest Spring Framework 5.1 release.

                              Depth: 14

                              Included recipes

                              • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_0

                                Name

                                Migrate to Spring Framework 5.0

                                Description

                                Migrate applications to the latest Spring Framework 5.0 release.

                                Depth: 15

                                Included recipes

                                • org.openrewrite.java.spring.framework.MigrateWebMvcConfigurerAdapter

                                  Name

                                  Replace `WebMvcConfigurerAdapter` with `WebMvcConfigurer`

                                  Description

                                  As of 5.0 `WebMvcConfigurer` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                                  Depth: 16

                                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                  Name

                                  Upgrade Gradle or Maven dependency versions

                                  Description

                                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                  Used Parameters

                                  Name Value Description
                                  groupId
                                  org.springframework.security
                                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                  artifactId
                                  *
                                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                  newVersion
                                  5.0.x
                                  An exact version number or node-style semver selector used to select the version number.
                                  overrideManagedVersion
                                  false
                                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                                  Depth: 16

                                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                  Name

                                  Upgrade Gradle or Maven dependency versions

                                  Description

                                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                  Used Parameters

                                  Name Value Description
                                  groupId
                                  org.springframework
                                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                  artifactId
                                  *
                                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                  newVersion
                                  5.0.x
                                  An exact version number or node-style semver selector used to select the version number.

                                  Depth: 16

                              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                Name

                                Upgrade Gradle or Maven dependency versions

                                Description

                                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                Used Parameters

                                Name Value Description
                                groupId
                                org.springframework
                                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                artifactId
                                *
                                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                newVersion
                                5.1.x
                                An exact version number or node-style semver selector used to select the version number.

                                Depth: 15

                              • org.openrewrite.java.spring.framework.EnvironmentAcceptsProfiles

                                Name

                                Use `Environment#acceptsProfiles(Profiles)`

                                Description

                                `Environment#acceptsProfiles(String...)` was deprecated in Spring Framework 5.1.

                                Depth: 15

                              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                Name

                                Upgrade Gradle or Maven dependency versions

                                Description

                                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                Used Parameters

                                Name Value Description
                                groupId
                                org.springframework.security
                                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                artifactId
                                *
                                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                newVersion
                                5.1.x
                                An exact version number or node-style semver selector used to select the version number.
                                overrideManagedVersion
                                false
                                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                                Depth: 15

                              • org.openrewrite.java.ChangeType

                                Name

                                Change type

                                Description

                                Change a given type to another.

                                Used Parameters

                                Name Value Description
                                oldFullyQualifiedTypeName
                                org.springframework.beans.factory.annotation.Required
                                Fully-qualified class name of the original type.
                                newFullyQualifiedTypeName
                                org.springframework.beans.factory.annotation.Autowired
                                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.
                                ignoreDefinition
                                true
                                When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                                Depth: 15

                            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                              Name

                              Upgrade Gradle or Maven dependency versions

                              Description

                              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                              Used Parameters

                              Name Value Description
                              groupId
                              org.springframework
                              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              artifactId
                              *
                              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              newVersion
                              5.2.x
                              An exact version number or node-style semver selector used to select the version number.

                              Depth: 14

                            • org.openrewrite.java.spring.framework.MigrateUtf8MediaTypes

                              Name

                              Migrate deprecated Spring Web UTF8 `MediaType` enums

                              Description

                              Spring Web `MediaType#APPLICATION_JSON_UTF8` and `MediaType#APPLICATION_PROBLEM_JSON_UTF8` were deprecated in 5.2.

                              Depth: 14

                            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                              Name

                              Upgrade Gradle or Maven dependency versions

                              Description

                              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                              Used Parameters

                              Name Value Description
                              groupId
                              org.springframework.security
                              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              artifactId
                              *
                              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              newVersion
                              5.2.x
                              An exact version number or node-style semver selector used to select the version number.
                              overrideManagedVersion
                              false
                              For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                              Depth: 14

                          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                            Name

                            Upgrade Gradle or Maven dependency versions

                            Description

                            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                            Used Parameters

                            Name Value Description
                            groupId
                            org.springframework.boot
                            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                            artifactId
                            *
                            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                            newVersion
                            2.2.x
                            An exact version number or node-style semver selector used to select the version number.
                            overrideManagedVersion
                            false
                            For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                            Depth: 13

                          • org.openrewrite.maven.UpgradePluginVersion

                            Name

                            Upgrade Maven plugin version

                            Description

                            Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                            Used Parameters

                            Name Value Description
                            groupId
                            org.springframework.boot
                            The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                            artifactId
                            spring-boot-maven-plugin
                            The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                            newVersion
                            2.2.x
                            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                            Depth: 13

                          • org.openrewrite.maven.UpgradeParentVersion

                            Name

                            Upgrade Maven parent project version

                            Description

                            Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                            Used Parameters

                            Name Value Description
                            groupId
                            org.springframework.boot
                            The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                            artifactId
                            spring-boot-starter-parent
                            The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                            newVersion
                            2.2.x
                            An exact version number or node-style semver selector used to select the version number.

                            Depth: 13

                          • org.openrewrite.gradle.plugins.UpgradePluginVersion

                            Name

                            Update a Gradle plugin by id

                            Description

                            Update a Gradle plugin by id to a later version.

                            Used Parameters

                            Name Value Description
                            pluginIdPattern
                            org.springframework.boot
                            The `ID` part of `plugin { ID }`, as a glob expression.
                            newVersion
                            2.2.x
                            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                            Depth: 13

                          • org.openrewrite.gradle.plugins.UpgradePluginVersion

                            Name

                            Update a Gradle plugin by id

                            Description

                            Update a Gradle plugin by id to a later version.

                            Used Parameters

                            Name Value Description
                            pluginIdPattern
                            io.spring.dependency-management
                            The `ID` part of `plugin { ID }`, as a glob expression.
                            newVersion
                            1.0.11.RELEASE
                            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                            Depth: 13

                          • org.openrewrite.gradle.UpdateGradleWrapper

                            Name

                            Update Gradle wrapper

                            Description

                            Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

                            Used Parameters

                            Name Value Description
                            version
                            ^4.10
                            An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
                            addIfMissing
                            false
                            Add a Gradle wrapper, if it's missing. Defaults to `true`.

                            Depth: 13

                          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                            Name

                            Upgrade Gradle or Maven dependency versions

                            Description

                            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                            Used Parameters

                            Name Value Description
                            groupId
                            org.springdoc
                            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                            artifactId
                            *
                            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                            newVersion
                            1.3.x
                            An exact version number or node-style semver selector used to select the version number.

                            Depth: 13

                          • org.openrewrite.java.spring.boot2.MigrateApplicationHealthIndicatorToPingHealthIndicator

                            Name

                            Use `PingHealthIndicator`

                            Description

                            `org.springframework.boot.actuate.health.ApplicationHealthIndicator` was deprecated in 2.2.

                            Depth: 13

                            Included recipes

                            • org.openrewrite.java.ChangeType

                              Name

                              Change type

                              Description

                              Change a given type to another.

                              Used Parameters

                              Name Value Description
                              oldFullyQualifiedTypeName
                              org.springframework.boot.actuate.health.ApplicationHealthIndicator
                              Fully-qualified class name of the original type.
                              newFullyQualifiedTypeName
                              org.springframework.boot.actuate.health.PingHealthIndicator
                              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                              Depth: 14

                          • org.openrewrite.java.spring.boot2.MigrateWebTestClientBuilderCustomizerPackageName

                            Name

                            Use `WebTestClientBuilderCustomizer`

                            Description

                            `org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientBuilderCustomizer` was deprecated in 2.2.

                            Depth: 13

                            Included recipes

                            • org.openrewrite.java.ChangeType

                              Name

                              Change type

                              Description

                              Change a given type to another.

                              Used Parameters

                              Name Value Description
                              oldFullyQualifiedTypeName
                              org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientBuilderCustomizer
                              Fully-qualified class name of the original type.
                              newFullyQualifiedTypeName
                              org.springframework.boot.test.web.reactive.server.WebTestClientBuilderCustomizer
                              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                              Depth: 14

                          • org.openrewrite.java.spring.boot2.MigrateConfigurationPropertiesBindingPostProcessorValidatorBeanName

                            Name

                            Use `EnableConfigurationProperties.VALIDATOR_BEAN_NAME`

                            Description

                            Replaces field and static access of `ConfigurationPropertiesBindingPostProcessor.VALIDATOR_BEAN_NAME` with `EnableConfigurationProperties.VALIDATOR_BEAN_NAME`. Deprecated in 2.2.x.

                            Depth: 13

                          • org.openrewrite.java.spring.boot2.SpringBootMavenPluginMigrateAgentToAgents

                            Name

                            Use `spring-boot.run.agents` configuration key in `spring-boot-maven-plugin`

                            Description

                            Migrate the `spring-boot.run.agent` Maven plugin configuration key to `spring-boot.run.agents`. Deprecated in 2.2.x.

                            Depth: 13

                          • org.openrewrite.java.spring.boot2.SpringBootProperties_2_2

                            Name

                            Migrate Spring Boot properties to 2.2

                            Description

                            Migrate properties found in `application.properties` and `application.yml`.

                            Depth: 13

                            Included recipes

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              management.health.status.http-mapping
                              The property key to rename.
                              newPropertyKey
                              management.endpoint.health.status.http-mapping
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              management.health.status.order
                              The property key to rename.
                              newPropertyKey
                              management.endpoint.health.status.order
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              management.metrics.web.client.requests-metric-name
                              The property key to rename.
                              newPropertyKey
                              management.metrics.web.client.request.metric-name
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              management.metrics.web.server.auto-time-requests
                              The property key to rename.
                              newPropertyKey
                              management.metrics.web.server.request.autotime.enabled
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              management.metrics.web.server.requests-metric-name
                              The property key to rename.
                              newPropertyKey
                              management.metrics.web.server.request.metric-name
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              server.jetty.accesslog.date-format
                              The property key to rename.
                              newPropertyKey
                              server.jetty.accesslog.custom-format
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              server.jetty.accesslog.extended-format
                              The property key to rename.
                              newPropertyKey
                              server.jetty.accesslog.format
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              server.jetty.accesslog.locale
                              The property key to rename.
                              newPropertyKey
                              server.jetty.accesslog.custom-format
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              server.jetty.accesslog.log-cookies
                              The property key to rename.
                              newPropertyKey
                              server.jetty.accesslog.custom-format
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              server.jetty.accesslog.log-latency
                              The property key to rename.
                              newPropertyKey
                              server.jetty.accesslog.custom-format
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              server.jetty.accesslog.log-server
                              The property key to rename.
                              newPropertyKey
                              server.jetty.accesslog.custom-format
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              server.jetty.accesslog.time-zone
                              The property key to rename.
                              newPropertyKey
                              server.jetty.accesslog.custom-format
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              server.use-forward-headers
                              The property key to rename.
                              newPropertyKey
                              server.forward-headers-strategy
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              spring.datasource.jmx-enabled
                              The property key to rename.
                              newPropertyKey
                              spring.datasource.tomcat.jmx-enabled
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              spring.jackson.joda-date-time-format
                              The property key to rename.
                              newPropertyKey
                              dateFormat
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              spring.rabbitmq.listener.simple.transaction-size
                              The property key to rename.
                              newPropertyKey
                              spring.rabbitmq.listener.simple.batch-size
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              spring.rabbitmq.publisher-confirms
                              The property key to rename.
                              newPropertyKey
                              spring.rabbitmq.publisher-confirm-type
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              spring.reactor.stacktrace-mode.enabled
                              The property key to rename.
                              newPropertyKey
                              spring.reactor.debug-agent.enabled
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              logging.file
                              The property key to rename.
                              newPropertyKey
                              logging.file.name
                              The new name for the property key.
                              except
                              [.+]
                              Regex. If any of these property keys exist as direct children of `oldPropertyKey`, then they will not be moved to `newPropertyKey`.

                              Depth: 14

                            • org.openrewrite.java.spring.ChangeSpringPropertyKey

                              Name

                              Change the key of a spring application property

                              Description

                              Change spring application property keys existing in either Properties or Yaml files.

                              Used Parameters

                              Name Value Description
                              oldPropertyKey
                              logging.path
                              The property key to rename.
                              newPropertyKey
                              logging.file.path
                              The new name for the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.health.elasticsearch.indices
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: Upstream elasticsearch transport is deprecated.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.health.elasticsearch.response-timeout
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: Upstream elasticsearch transport is deprecated.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.appoptics.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.datadog.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.dynatrace.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.elastic.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.humio.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.humio.repository
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: No longer used as repository is resolved from the api token.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.influx.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.kairos.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.newrelic.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.signalfx.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              management.metrics.export.wavefront.num-threads
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.data.elasticsearch.cluster-name
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: The transport client support is deprecated. Use other supported clients instead.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.data.elasticsearch.cluster-nodes
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: The transport client support is deprecated. Use other supported clients instead.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.data.elasticsearch.properties
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: The transport client support is deprecated. Use other supported clients instead.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.datasource.dbcp2.enable-auto-commit-on-return
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.elasticsearch.jest.uris
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: The Jest client support is deprecated. Use other supported clients instead.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.mvc.contentnegotiation.favor-path-extension
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: Use of path extensions for request mapping and for content negotiation is discouraged.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.mvc.favicon.enabled
                              The name of the property key to comment out.
                              comment
                              This property is deprecated and will be removed in future Spring Boot versions
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.mvc.pathmatch.use-registered-suffix-pattern
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: Use of path extensions for request mapping and for content negotiation is discouraged.
                              Comment to replace the property key.

                              Depth: 14

                            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                              Name

                              Comment out Spring properties

                              Description

                              Add comment to specified Spring properties, and comment out the property.

                              Used Parameters

                              Name Value Description
                              propertyKey
                              spring.mvc.pathmatch.use-suffix-pattern
                              The name of the property key to comment out.
                              comment
                              This property is deprecated: Use of path extensions for request mapping and for content negotiation is discouraged.
                              Comment to replace the property key.

                              Depth: 14

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            org.springframework.boot.test.rule.OutputCapture
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            org.springframework.boot.test.system.OutputCaptureRule
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                        • org.openrewrite.java.spring.data.UpgradeSpringData_2_3

                          Name

                          Migrate to Spring Data 2.3

                          Description

                          Migrate applications to the latest Spring Data 2.3 release.

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.spring.data.MigrateJpaSort

                            Name

                            Use `JpaSort.of(..)`

                            Description

                            Equivalent constructors in `JpaSort` were deprecated in Spring Data 2.3.

                            Depth: 13

                          • org.openrewrite.java.dependencies.AddDependency

                            Name

                            Add Gradle or Maven dependency

                            Description

                            For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                            Used Parameters

                            Name Value Description
                            groupId
                            org.mongodb
                            The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                            artifactId
                            mongodb-driver-legacy
                            The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                            version
                            5.1.x
                            An exact version number or node-style semver selector used to select the version number.
                            onlyIfUsing
                            com.mongodb.MongoClientURI
                            Used to determine if the dependency will be added and in which scope it should be placed.

                            Depth: 13

                          • org.openrewrite.java.spring.data.RefactorSimpleMongoDbFactory

                            Name

                            Use `new SimpleMongoClientDbFactory(String)`

                            Description

                            Replace usage of deprecated `new SimpleMongoDbFactory(new MongoClientURI(String))` with `new SimpleMongoClientDbFactory(String)`.

                            Depth: 13

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            org.springframework.data.mongodb.MongoDbFactory
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            org.springframework.data.mongodb.MongoDatabaseFactory
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            org.springframework.data.mongodb.core.SimpleMongoDbFactory
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            org.springframework.data.mongodb.core.SimpleMongoClientDbFactory
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            com.mongodb.async.client.MongoClientSettings
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            com.mongodb.MongoClientSettings
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                          Name

                          Upgrade Gradle or Maven dependency versions

                          Description

                          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springframework.boot
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          *
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          newVersion
                          2.3.x
                          An exact version number or node-style semver selector used to select the version number.
                          overrideManagedVersion
                          false
                          For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                          Depth: 12

                        • org.openrewrite.maven.UpgradePluginVersion

                          Name

                          Upgrade Maven plugin version

                          Description

                          Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springframework.boot
                          The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                          artifactId
                          spring-boot-maven-plugin
                          The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                          newVersion
                          2.3.x
                          An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                          Depth: 12

                        • org.openrewrite.maven.UpgradeParentVersion

                          Name

                          Upgrade Maven parent project version

                          Description

                          Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springframework.boot
                          The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                          artifactId
                          spring-boot-starter-parent
                          The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                          newVersion
                          2.3.x
                          An exact version number or node-style semver selector used to select the version number.

                          Depth: 12

                        • org.openrewrite.gradle.plugins.UpgradePluginVersion

                          Name

                          Update a Gradle plugin by id

                          Description

                          Update a Gradle plugin by id to a later version.

                          Used Parameters

                          Name Value Description
                          pluginIdPattern
                          org.springframework.boot
                          The `ID` part of `plugin { ID }`, as a glob expression.
                          newVersion
                          2.3.x
                          An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                          Depth: 12

                        • org.openrewrite.gradle.UpdateGradleWrapper

                          Name

                          Update Gradle wrapper

                          Description

                          Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

                          Used Parameters

                          Name Value Description
                          version
                          ^6.3
                          An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
                          addIfMissing
                          false
                          Add a Gradle wrapper, if it's missing. Defaults to `true`.

                          Depth: 12

                        • org.openrewrite.java.dependencies.AddDependency

                          Name

                          Add Gradle or Maven dependency

                          Description

                          For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springframework.boot
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                          artifactId
                          spring-boot-starter-validation
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                          version
                          2.3.x
                          An exact version number or node-style semver selector used to select the version number.
                          onlyIfUsing
                          javax.validation.constraints.*
                          Used to determine if the dependency will be added and in which scope it should be placed.
                          acceptTransitive
                          true
                          Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                          Depth: 12

                        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                          Name

                          Upgrade Gradle or Maven dependency versions

                          Description

                          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springdoc
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          *
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          newVersion
                          1.4.x
                          An exact version number or node-style semver selector used to select the version number.

                          Depth: 12

                        • org.openrewrite.java.spring.boot2.MigrateRestClientBuilderCustomizerPackageName

                          Name

                          Use `RestClientBuilderCustomizer`

                          Description

                          `org.springframework.boot.autoconfigure.elasticsearch.rest.RestClientBuilderCustomizer` was deprecated in 2.3.

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            org.springframework.boot.autoconfigure.elasticsearch.rest.RestClientBuilderCustomizer
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            org.springframework.boot.autoconfigure.elasticsearch.RestClientBuilderCustomizer
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                        • org.openrewrite.java.spring.boot2.MigrateErrorPropertiesIncludeStackTraceConstants

                          Name

                          Use `ErrorProperties#IncludeStacktrace.ON_PARAM`

                          Description

                          `ErrorProperties#IncludeStacktrace.ON_TRACE_PARAM` was deprecated in 2.3.x and removed in 2.5.0.

                          Depth: 12

                        • org.openrewrite.java.spring.boot2.GetErrorAttributes

                          Name

                          Use `ErrorAttributes#getErrorAttributes(WebRequest, ErrorAttributeOptions)`

                          Description

                          `ErrorAttributes#getErrorAttributes(WebRequest, boolean)` was deprecated in Spring Boot 2.3.

                          Depth: 12

                        • org.openrewrite.java.spring.boot2.SpringBootProperties_2_3

                          Name

                          Migrate Spring Boot properties to 2.3

                          Description

                          Migrate properties found in `application.properties` and `application.yml`.

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            management.health.probes.enabled
                            The property key to rename.
                            newPropertyKey
                            management.endpoint.health.probes.enabled
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            management.metrics.distribution.sla
                            The property key to rename.
                            newPropertyKey
                            management.metrics.distribution.slo
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.jetty.acceptors
                            The property key to rename.
                            newPropertyKey
                            server.jetty.threads.acceptors
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.jetty.max-queue-capacity
                            The property key to rename.
                            newPropertyKey
                            server.jetty.threads.max-queue-capacity
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.jetty.max-threads
                            The property key to rename.
                            newPropertyKey
                            server.jetty.threads.max
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.jetty.min-threads
                            The property key to rename.
                            newPropertyKey
                            server.jetty.threads.min
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.jetty.selectors
                            The property key to rename.
                            newPropertyKey
                            server.jetty.threads.selectors
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.jetty.thread-idle-timeout
                            The property key to rename.
                            newPropertyKey
                            server.jetty.threads.idle-timeout
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.tomcat.host-header
                            The property key to rename.
                            newPropertyKey
                            server.tomcat.remoteip.host-header
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.tomcat.internal-proxies
                            The property key to rename.
                            newPropertyKey
                            server.tomcat.remoteip.internal-proxies
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.tomcat.max-threads
                            The property key to rename.
                            newPropertyKey
                            server.tomcat.threads.max
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.tomcat.min-spare-threads
                            The property key to rename.
                            newPropertyKey
                            server.tomcat.threads.min-spare
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.tomcat.port-header
                            The property key to rename.
                            newPropertyKey
                            server.tomcat.remote.port-header
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.tomcat.protocol-header
                            The property key to rename.
                            newPropertyKey
                            server.tomcat.remoteip.protocol-header
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.tomcat.protocol-header-https-value
                            The property key to rename.
                            newPropertyKey
                            server.tomcat.remoteip.protocol-header-https-value
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.tomcat.remote-ip-header
                            The property key to rename.
                            newPropertyKey
                            server.tomcat.remoteip.remote-ip-header
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.undertow.io-threads
                            The property key to rename.
                            newPropertyKey
                            server.undertow.threads.io
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            server.undertow.worker-threads
                            The property key to rename.
                            newPropertyKey
                            server.undertow.threads.worker
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.couchbase.bootstrap-hosts
                            The property key to rename.
                            newPropertyKey
                            spring.couchbase.connection-string
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.couchbase.env.endpoints.queryservice.max-endpoints
                            The property key to rename.
                            newPropertyKey
                            spring.couchbase.env.io.max-endpoints
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.couchbase.env.endpoints.queryservice.min-endpoints
                            The property key to rename.
                            newPropertyKey
                            spring.couchbase.env.io.min-endpoints
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.couchbase.env.endpoints.viewservice.max-endpoints
                            The property key to rename.
                            newPropertyKey
                            spring.couchbase.env.io.max-endpoints
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.couchbase.env.endpoints.viewservice.min-endpoints
                            The property key to rename.
                            newPropertyKey
                            spring.couchbase.env.io.min-endpoints
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.data.cassandra.cluster-name
                            The property key to rename.
                            newPropertyKey
                            spring.data.cassandra.session-name
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.data.cassandra.connect-timeout
                            The property key to rename.
                            newPropertyKey
                            spring.data.cassandra.connection.init-query-timeout
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.data.cassandra.consistency-level
                            The property key to rename.
                            newPropertyKey
                            spring.data.cassandra.request.consistency
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.data.cassandra.fetch-size
                            The property key to rename.
                            newPropertyKey
                            spring.data.cassandra.request.page-size
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.data.cassandra.pool.max-queue-size
                            The property key to rename.
                            newPropertyKey
                            spring.data.cassandra.request.throttler.max-queue-size
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.data.cassandra.read-timeout
                            The property key to rename.
                            newPropertyKey
                            spring.data.cassandra.request.timeout
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.data.cassandra.serial-consistency-level
                            The property key to rename.
                            newPropertyKey
                            spring.data.cassandra.request.serial-consistency
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.http.converters.preferred-json-mapper
                            The property key to rename.
                            newPropertyKey
                            spring.mvc.converters.preferred-json-mapper
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.http.encoding.charset
                            The property key to rename.
                            newPropertyKey
                            server.servlet.encoding.charset
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.http.encoding.enabled
                            The property key to rename.
                            newPropertyKey
                            server.servlet.encoding.enabled
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.http.encoding.force
                            The property key to rename.
                            newPropertyKey
                            server.servlet.encoding.force
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.http.encoding.force-request
                            The property key to rename.
                            newPropertyKey
                            server.servlet.encoding.force-request
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.http.encoding.force-response
                            The property key to rename.
                            newPropertyKey
                            server.servlet.encoding.force-response
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.http.encoding.mapping
                            The property key to rename.
                            newPropertyKey
                            server.servlet.encoding.mapping
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.http.log-request-details
                            The property key to rename.
                            newPropertyKey
                            spring.mvc.log-request-details
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.mvc.date-format
                            The property key to rename.
                            newPropertyKey
                            spring.mvc.format.date
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.ChangeSpringPropertyKey

                            Name

                            Change the key of a spring application property

                            Description

                            Change spring application property keys existing in either Properties or Yaml files.

                            Used Parameters

                            Name Value Description
                            oldPropertyKey
                            spring.webflux.date-format
                            The property key to rename.
                            newPropertyKey
                            spring.webflux.format.date
                            The new name for the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            management.metrics.export.ganglia.protocol-version
                            The name of the property key to comment out.
                            comment
                            This property is deprecated: No longer used by Micrometer.
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            management.metrics.export.ganglia.rate-units
                            The name of the property key to comment out.
                            comment
                            This property is deprecated: No longer used by Micrometer.
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            management.metrics.export.stackdriver.num-threads
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            management.metrics.export.wavefront.connect-timeout
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            management.metrics.export.wavefront.read-timeout
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.couchbase.bucket.name
                            The name of the property key to comment out.
                            comment
                            This property is deprecated: A bucket is no longer auto-configured.
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.couchbase.bucket.password
                            The name of the property key to comment out.
                            comment
                            This property is deprecated: A bucket is no longer auto-configured.
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.couchbase.env.bootstrap.http-direct-port
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.couchbase.env.bootstrap.http-ssl-port
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.couchbase.env.endpoints.key-value
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.couchbase.env.timeouts.socket-connect
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.data.cassandra.jmx-enabled
                            The name of the property key to comment out.
                            comment
                            This property is deprecated: Cassandra no longer provides JMX metrics.
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.data.cassandra.pool.pool-timeout
                            The name of the property key to comment out.
                            comment
                            This property is deprecated: No longer available.
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.data.couchbase.consistency
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.data.solr.repositories.enabled
                            The name of the property key to comment out.
                            comment
                            This property is deprecated: Spring Data Solr is deprecated.
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.elasticsearch.jest.connection-timeout
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.elasticsearch.jest.multi-threaded
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.elasticsearch.jest.password
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.elasticsearch.jest.proxy.host
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.elasticsearch.jest.proxy.port
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.elasticsearch.jest.read-timeout
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.elasticsearch.jest.username
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jackson.joda-date-time-format
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.allow-multiple-lrc
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.asynchronous2-pc
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.background-recovery-interval-seconds
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.current-node-only-recovery
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.debug-zero-resource-transaction
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.default-transaction-timeout
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.disable-jmx
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.exception-analyzer
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.filter-log-status
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.force-batching-enabled
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.forced-write-enabled
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.graceful-shutdown-interval
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.jndi-transaction-synchronization-registry-name
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.jndi-user-transaction-name
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.journal
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.log-part1-filename
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.log-part2-filename
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.max-log-size-in-mb
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.resource-configuration-filename
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.server-id
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.skip-corrupted-logs
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.jta.bitronix.properties.warn-about-zero-resource-transaction
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.rabbitmq.listener.simple.transaction-size
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                            Name

                            Comment out Spring properties

                            Description

                            Add comment to specified Spring properties, and comment out the property.

                            Used Parameters

                            Name Value Description
                            propertyKey
                            spring.rabbitmq.publisher-confirms
                            The name of the property key to comment out.
                            comment
                            This property is deprecated and will be removed in future Spring Boot versions
                            Comment to replace the property key.

                            Depth: 13

                      • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_3

                        Name

                        Migrate to Spring Framework 5.3

                        Description

                        Migrate applications to the latest Spring Framework 5.3 release.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_2

                          Name

                          Migrate to Spring Framework 5.2

                          Description

                          Migrate applications to the latest Spring Framework 5.2 release.

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_1

                            Name

                            Migrate to Spring Framework 5.1

                            Description

                            Migrate applications to the latest Spring Framework 5.1 release.

                            Depth: 13

                            Included recipes

                            • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_0

                              Name

                              Migrate to Spring Framework 5.0

                              Description

                              Migrate applications to the latest Spring Framework 5.0 release.

                              Depth: 14

                              Included recipes

                              • org.openrewrite.java.spring.framework.MigrateWebMvcConfigurerAdapter

                                Name

                                Replace `WebMvcConfigurerAdapter` with `WebMvcConfigurer`

                                Description

                                As of 5.0 `WebMvcConfigurer` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                                Depth: 15

                              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                Name

                                Upgrade Gradle or Maven dependency versions

                                Description

                                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                Used Parameters

                                Name Value Description
                                groupId
                                org.springframework.security
                                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                artifactId
                                *
                                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                newVersion
                                5.0.x
                                An exact version number or node-style semver selector used to select the version number.
                                overrideManagedVersion
                                false
                                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                                Depth: 15

                              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                                Name

                                Upgrade Gradle or Maven dependency versions

                                Description

                                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                                Used Parameters

                                Name Value Description
                                groupId
                                org.springframework
                                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                artifactId
                                *
                                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                                newVersion
                                5.0.x
                                An exact version number or node-style semver selector used to select the version number.

                                Depth: 15

                            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                              Name

                              Upgrade Gradle or Maven dependency versions

                              Description

                              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                              Used Parameters

                              Name Value Description
                              groupId
                              org.springframework
                              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              artifactId
                              *
                              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              newVersion
                              5.1.x
                              An exact version number or node-style semver selector used to select the version number.

                              Depth: 14

                            • org.openrewrite.java.spring.framework.EnvironmentAcceptsProfiles

                              Name

                              Use `Environment#acceptsProfiles(Profiles)`

                              Description

                              `Environment#acceptsProfiles(String...)` was deprecated in Spring Framework 5.1.

                              Depth: 14

                            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                              Name

                              Upgrade Gradle or Maven dependency versions

                              Description

                              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                              Used Parameters

                              Name Value Description
                              groupId
                              org.springframework.security
                              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              artifactId
                              *
                              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                              newVersion
                              5.1.x
                              An exact version number or node-style semver selector used to select the version number.
                              overrideManagedVersion
                              false
                              For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                              Depth: 14

                            • org.openrewrite.java.ChangeType

                              Name

                              Change type

                              Description

                              Change a given type to another.

                              Used Parameters

                              Name Value Description
                              oldFullyQualifiedTypeName
                              org.springframework.beans.factory.annotation.Required
                              Fully-qualified class name of the original type.
                              newFullyQualifiedTypeName
                              org.springframework.beans.factory.annotation.Autowired
                              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.
                              ignoreDefinition
                              true
                              When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                              Depth: 14

                          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                            Name

                            Upgrade Gradle or Maven dependency versions

                            Description

                            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                            Used Parameters

                            Name Value Description
                            groupId
                            org.springframework
                            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                            artifactId
                            *
                            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                            newVersion
                            5.2.x
                            An exact version number or node-style semver selector used to select the version number.

                            Depth: 13

                          • org.openrewrite.java.spring.framework.MigrateUtf8MediaTypes

                            Name

                            Migrate deprecated Spring Web UTF8 `MediaType` enums

                            Description

                            Spring Web `MediaType#APPLICATION_JSON_UTF8` and `MediaType#APPLICATION_PROBLEM_JSON_UTF8` were deprecated in 5.2.

                            Depth: 13

                          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                            Name

                            Upgrade Gradle or Maven dependency versions

                            Description

                            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                            Used Parameters

                            Name Value Description
                            groupId
                            org.springframework.security
                            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                            artifactId
                            *
                            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                            newVersion
                            5.2.x
                            An exact version number or node-style semver selector used to select the version number.
                            overrideManagedVersion
                            false
                            For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                            Depth: 13

                        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                          Name

                          Upgrade Gradle or Maven dependency versions

                          Description

                          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springframework
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          *
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          newVersion
                          5.3.x
                          An exact version number or node-style semver selector used to select the version number.

                          Depth: 12

                        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                          Name

                          Upgrade Gradle or Maven dependency versions

                          Description

                          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springframework.security
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          *
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          newVersion
                          5.3.x
                          An exact version number or node-style semver selector used to select the version number.
                          overrideManagedVersion
                          false
                          For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                          Depth: 12

                        • org.openrewrite.java.spring.framework.UseObjectUtilsIsEmpty

                          Name

                          Use `ObjectUtils#isEmpty(Object)`

                          Description

                          `StringUtils#isEmpty(Object)` was deprecated in 5.3.

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.ChangeMethodTargetToStatic

                            Name

                            Change method target to static

                            Description

                            Change method invocations to static method calls.

                            Used Parameters

                            Name Value Description
                            methodPattern
                            org.springframework.util.StringUtils isEmpty(Object)
                            A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                            fullyQualifiedTargetTypeName
                            org.springframework.util.ObjectUtils
                            A fully-qualified class name of the type upon which the static method is defined.

                            Depth: 13

                        • org.openrewrite.java.spring.framework.MigrateHandlerInterceptor

                          Name

                          Migrate `HandlerInterceptorAdapter` to `HandlerInterceptor`

                          Description

                          Deprecated as of 5.3 in favor of implementing `HandlerInterceptor` and/or `AsyncHandlerInterceptor`.

                          Depth: 12

                        • org.openrewrite.java.spring.framework.MigrateInstantiationAwareBeanPostProcessorAdapter

                          Name

                          Convert `InstantiationAwareBeanPostProcessorAdapter` to `SmartInstantiationAwareBeanPostProcessor`

                          Description

                          As of Spring-Framework 5.3 `InstantiationAwareBeanPostProcessorAdapter` is deprecated in favor of the existing default methods in `SmartInstantiationAwareBeanPostProcessor`.

                          Depth: 12

                        • org.openrewrite.java.spring.framework.JdbcTemplateObjectArrayArgToVarArgs

                          Name

                          Use varargs equivalents for deprecated JdbcTemplate signatures

                          Description

                          `JdbcTemplate` signatures with `Object[]` arguments are deprecated, in favor of their existing varargs equivalents.

                          Depth: 12

                        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                          Name

                          Upgrade Gradle or Maven dependency versions

                          Description

                          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.hibernate
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          hibernate-search-orm
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          newVersion
                          5.11.x
                          An exact version number or node-style semver selector used to select the version number.
                          overrideManagedVersion
                          false
                          For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                          Depth: 12

                        • org.openrewrite.java.dependencies.RemoveDependency

                          Name

                          Remove a Gradle or Maven dependency

                          Description

                          For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.aspectj
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          aspectjrt
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          unlessUsing
                          org.aspectj.lang.annotation.*
                          Do not remove if type is in use. Supports glob expressions.

                          Depth: 12

                        • org.openrewrite.java.dependencies.RemoveDependency

                          Name

                          Remove a Gradle or Maven dependency

                          Description

                          For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                          Used Parameters

                          Name Value Description
                          groupId
                          aopalliance
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          aopalliance
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          unlessUsing
                          org.aopalliance.aop.*
                          Do not remove if type is in use. Supports glob expressions.

                          Depth: 12

                        • org.openrewrite.java.dependencies.RemoveDependency

                          Name

                          Remove a Gradle or Maven dependency

                          Description

                          For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                          Used Parameters

                          Name Value Description
                          groupId
                          cglib
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          cglib
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          unlessUsing
                          net.sf.cglib.core.*
                          Do not remove if type is in use. Supports glob expressions.

                          Depth: 12

                      • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                        Name

                        Upgrade Gradle or Maven dependency versions

                        Description

                        For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework.boot
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        artifactId
                        *
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        newVersion
                        2.4.x
                        An exact version number or node-style semver selector used to select the version number.
                        overrideManagedVersion
                        false
                        For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                        Depth: 11

                      • org.openrewrite.maven.UpgradePluginVersion

                        Name

                        Upgrade Maven plugin version

                        Description

                        Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework.boot
                        The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                        artifactId
                        spring-boot-maven-plugin
                        The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                        newVersion
                        2.4.x
                        An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                        Depth: 11

                      • org.openrewrite.maven.UpgradeParentVersion

                        Name

                        Upgrade Maven parent project version

                        Description

                        Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework.boot
                        The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                        artifactId
                        spring-boot-starter-parent
                        The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                        newVersion
                        2.4.x
                        An exact version number or node-style semver selector used to select the version number.

                        Depth: 11

                      • org.openrewrite.gradle.plugins.UpgradePluginVersion

                        Name

                        Update a Gradle plugin by id

                        Description

                        Update a Gradle plugin by id to a later version.

                        Used Parameters

                        Name Value Description
                        pluginIdPattern
                        org.springframework.boot
                        The `ID` part of `plugin { ID }`, as a glob expression.
                        newVersion
                        2.4.x
                        An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                        Depth: 11

                      • org.openrewrite.maven.RemoveExclusion

                        Name

                        Remove exclusion

                        Description

                        Remove any matching exclusion from any matching dependency.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework.boot
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. Supports glob.
                        artifactId
                        spring-boot-starter-test
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. Supports glob.
                        exclusionGroupId
                        org.junit.vintage
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. Supports glob.
                        exclusionArtifactId
                        junit-vintage-engine
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. Supports glob.

                        Depth: 11

                      • org.openrewrite.maven.RemoveExclusion

                        Name

                        Remove exclusion

                        Description

                        Remove any matching exclusion from any matching dependency.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework.boot
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. Supports glob.
                        artifactId
                        spring-boot-starter-test
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. Supports glob.
                        exclusionGroupId
                        junit
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. Supports glob.
                        exclusionArtifactId
                        junit
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. Supports glob.

                        Depth: 11

                      • org.openrewrite.java.dependencies.AddDependency

                        Name

                        Add Gradle or Maven dependency

                        Description

                        For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                        Used Parameters

                        Name Value Description
                        groupId
                        com.google.guava
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                        artifactId
                        guava
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                        version
                        28.2
                        An exact version number or node-style semver selector used to select the version number.
                        versionPattern
                        -jre
                        Allows version selection to be extended beyond the original Node Semver semantics. So for example, Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre
                        onlyIfUsing
                        com.google.common.*
                        Used to determine if the dependency will be added and in which scope it should be placed.

                        Depth: 11

                      • org.openrewrite.java.spring.boot2.MigrateUndertowServletWebServerFactoryIsEagerInitFilters

                        Name

                        Use `isEagerFilterInit()`

                        Description

                        `org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory#isEagerInitFilters` was deprecated in 2.4 and are removed in 2.6.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.ChangeMethodName

                          Name

                          Change method name

                          Description

                          Rename a method.

                          Used Parameters

                          Name Value Description
                          methodPattern
                          org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory isEagerInitFilters()
                          A method pattern that is used to find matching method declarations/invocations.
                          newMethodName
                          isEagerFilterInit
                          The method name that will replace the existing name.

                          Depth: 12

                      • org.openrewrite.java.spring.boot2.MigrateUndertowServletWebServerFactorySetEagerInitFilters

                        Name

                        Use `setEagerFilterInit(boolean)`

                        Description

                        `org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory#setEagerInitFilters` was deprecated in 2.4 and are removed in 2.6.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.ChangeMethodName

                          Name

                          Change method name

                          Description

                          Rename a method.

                          Used Parameters

                          Name Value Description
                          methodPattern
                          org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory setEagerInitFilters(boolean)
                          A method pattern that is used to find matching method declarations/invocations.
                          newMethodName
                          setEagerFilterInit
                          The method name that will replace the existing name.

                          Depth: 12

                      • org.openrewrite.java.spring.boot2.MigrateLoggingSystemPropertyConstants

                        Name

                        Migrate to recommended constants in `LogbackLoggingSystemProperties` from deprecated values in `LoggingSystemProperties`

                        Description

                        Replaces field and static access of deprecated fields in `LoggingSystemProperties` with the recommendations from `LogbackLoggingSystemProperties`. Deprecated in 2.4.x and removed in 2.6.0.

                        Depth: 11

                      • org.openrewrite.java.spring.boot2.MigrateHsqlEmbeddedDatabaseConnection

                        Name

                        Migrate deprecated Spring-Boot `EmbeddedDatabaseConnection.HSQL`

                        Description

                        Spring-Boot `EmbeddedDatabaseConnection.HSQL` was deprecated in favor of `EmbeddedDatabaseConnection.HSQLDB` in 2.4.

                        Depth: 11

                      • org.openrewrite.java.spring.boot2.SpringBootProperties_2_4

                        Name

                        Migrate Spring Boot properties to 2.4

                        Description

                        Migrate properties found in `application.properties` and `application.yml`.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          logging.file.clean-history-on-start
                          The property key to rename.
                          newPropertyKey
                          logging.logback.rollingpolicy.clean-history-on-start
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          logging.file.max-history
                          The property key to rename.
                          newPropertyKey
                          logging.logback.rollingpolicy.max-history
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          logging.file.max-size
                          The property key to rename.
                          newPropertyKey
                          logging.logback.rollingpolicy.max-file-size
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          logging.file.total-size-cap
                          The property key to rename.
                          newPropertyKey
                          logging.logback.rollingpolicy.total-size-cap
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          logging.pattern.rolling-file-name
                          The property key to rename.
                          newPropertyKey
                          logging.logback.rollingpolicy.file-name-pattern
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          management.server.servlet.context-path
                          The property key to rename.
                          newPropertyKey
                          management.server.base-path
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.data.mongodb.grid-fs-database
                          The property key to rename.
                          newPropertyKey
                          spring.data.mongodb.gridfs.database
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.data.neo4j.password
                          The property key to rename.
                          newPropertyKey
                          spring.neo4j.authentication.password
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.data.neo4j.repositories.enabled
                          The property key to rename.
                          newPropertyKey
                          spring.data.neo4j.repositories.type
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.data.neo4j.uri
                          The property key to rename.
                          newPropertyKey
                          spring.neo4j.uri
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.data.neo4j.username
                          The property key to rename.
                          newPropertyKey
                          spring.neo4j.authentication.password
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.mvc.locale
                          The property key to rename.
                          newPropertyKey
                          spring.web.locale
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.mvc.locale-resolver
                          The property key to rename.
                          newPropertyKey
                          spring.web.locale-resolver
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.profiles
                          The property key to rename.
                          newPropertyKey
                          spring.config.activate.on-profile
                          The new name for the property key.
                          except
                          [active, default, group, include]
                          Regex. If any of these property keys exist as direct children of `oldPropertyKey`, then they will not be moved to `newPropertyKey`.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.add-mappings
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.add-mappings
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.cache-private
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.cache-private
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.cache-public
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.cache-public
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.max-age
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.max-age
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.must-revalidate
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.must-revalidate
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.no-cache
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.no-cache
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.no-store
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.no-store
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.no-transform
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.no-transform
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.proxy-revalidate
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.proxy-revalidate
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.s-max-age
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.s-max-age
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.stale-if-error
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.stale-if-error
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.cachecontrol.stale-while-revalidate
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.cachecontrol.stale-while-revalidate
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.period
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.period
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.cache.use-last-modified
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.cache.use-last-modified
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.chain.cache
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.chain.cache
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.chain.compressed
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.chain.compressed
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.chain.enabled
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.chain.enabled
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.chain.strategy.content.enabled
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.chain.strategy.content.enabled
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.chain.strategy.content.paths
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.chain.strategy.content.paths
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.chain.strategy.fixed.enabled
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.chain.strategy.fixed.enabled
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.chain.strategy.fixed.paths
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.chain.strategy.fixed.paths
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.chain.strategy.fixed.version
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.chain.strategy.fixed.version
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.ChangeSpringPropertyKey

                          Name

                          Change the key of a spring application property

                          Description

                          Change spring application property keys existing in either Properties or Yaml files.

                          Used Parameters

                          Name Value Description
                          oldPropertyKey
                          spring.resources.static-locations
                          The property key to rename.
                          newPropertyKey
                          spring.web.resources.static-locations
                          The new name for the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                          Name

                          Comment out Spring properties

                          Description

                          Add comment to specified Spring properties, and comment out the property.

                          Used Parameters

                          Name Value Description
                          propertyKey
                          spring.data.neo4j.auto-index
                          The name of the property key to comment out.
                          comment
                          This property is deprecated: Automatic index creation is no longer supported.
                          Comment to replace the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                          Name

                          Comment out Spring properties

                          Description

                          Add comment to specified Spring properties, and comment out the property.

                          Used Parameters

                          Name Value Description
                          propertyKey
                          spring.data.neo4j.embedded.enabled
                          The name of the property key to comment out.
                          comment
                          This property is deprecated: Embedded mode is no longer supported, please use Testcontainers instead.
                          Comment to replace the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                          Name

                          Comment out Spring properties

                          Description

                          Add comment to specified Spring properties, and comment out the property.

                          Used Parameters

                          Name Value Description
                          propertyKey
                          spring.data.neo4j.open-in-view
                          The name of the property key to comment out.
                          comment
                          This property is deprecated and will be removed in future Spring Boot versions
                          Comment to replace the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                          Name

                          Comment out Spring properties

                          Description

                          Add comment to specified Spring properties, and comment out the property.

                          Used Parameters

                          Name Value Description
                          propertyKey
                          spring.data.neo4j.use-native-types
                          The name of the property key to comment out.
                          comment
                          This property is deprecated: Native type support is now built-in.
                          Comment to replace the property key.

                          Depth: 12

                        • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                          Name

                          Comment out Spring properties

                          Description

                          Add comment to specified Spring properties, and comment out the property.

                          Used Parameters

                          Name Value Description
                          propertyKey
                          spring.resources.chain.html-application-cache
                          The name of the property key to comment out.
                          comment
                          This property is deprecated: The appcache manifest feature is being removed from browsers.
                          Comment to replace the property key.

                          Depth: 12

                    • org.openrewrite.java.spring.data.UpgradeSpringData_2_5

                      Name

                      Migrate to Spring Data 2.5

                      Description

                      Migrate applications to the latest Spring Data 2.5 release.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.spring.data.UpgradeSpringData_2_3

                        Name

                        Migrate to Spring Data 2.3

                        Description

                        Migrate applications to the latest Spring Data 2.3 release.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.spring.data.MigrateJpaSort

                          Name

                          Use `JpaSort.of(..)`

                          Description

                          Equivalent constructors in `JpaSort` were deprecated in Spring Data 2.3.

                          Depth: 12

                        • org.openrewrite.java.dependencies.AddDependency

                          Name

                          Add Gradle or Maven dependency

                          Description

                          For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.mongodb
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                          artifactId
                          mongodb-driver-legacy
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                          version
                          5.1.x
                          An exact version number or node-style semver selector used to select the version number.
                          onlyIfUsing
                          com.mongodb.MongoClientURI
                          Used to determine if the dependency will be added and in which scope it should be placed.

                          Depth: 12

                        • org.openrewrite.java.spring.data.RefactorSimpleMongoDbFactory

                          Name

                          Use `new SimpleMongoClientDbFactory(String)`

                          Description

                          Replace usage of deprecated `new SimpleMongoDbFactory(new MongoClientURI(String))` with `new SimpleMongoClientDbFactory(String)`.

                          Depth: 12

                        • org.openrewrite.java.ChangeType

                          Name

                          Change type

                          Description

                          Change a given type to another.

                          Used Parameters

                          Name Value Description
                          oldFullyQualifiedTypeName
                          org.springframework.data.mongodb.MongoDbFactory
                          Fully-qualified class name of the original type.
                          newFullyQualifiedTypeName
                          org.springframework.data.mongodb.MongoDatabaseFactory
                          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                          Depth: 12

                        • org.openrewrite.java.ChangeType

                          Name

                          Change type

                          Description

                          Change a given type to another.

                          Used Parameters

                          Name Value Description
                          oldFullyQualifiedTypeName
                          org.springframework.data.mongodb.core.SimpleMongoDbFactory
                          Fully-qualified class name of the original type.
                          newFullyQualifiedTypeName
                          org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
                          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                          Depth: 12

                        • org.openrewrite.java.ChangeType

                          Name

                          Change type

                          Description

                          Change a given type to another.

                          Used Parameters

                          Name Value Description
                          oldFullyQualifiedTypeName
                          org.springframework.data.mongodb.core.SimpleMongoClientDbFactory
                          Fully-qualified class name of the original type.
                          newFullyQualifiedTypeName
                          org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
                          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                          Depth: 12

                        • org.openrewrite.java.ChangeType

                          Name

                          Change type

                          Description

                          Change a given type to another.

                          Used Parameters

                          Name Value Description
                          oldFullyQualifiedTypeName
                          com.mongodb.async.client.MongoClientSettings
                          Fully-qualified class name of the original type.
                          newFullyQualifiedTypeName
                          com.mongodb.MongoClientSettings
                          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                          Depth: 12

                      • org.openrewrite.java.spring.data.UseJpaRepositoryGetById

                        Name

                        Use `JpaRepository#getById(ID id)`

                        Description

                        `JpaRepository#getOne(ID)` was deprecated in 2.5.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.ChangeMethodName

                          Name

                          Change method name

                          Description

                          Rename a method.

                          Used Parameters

                          Name Value Description
                          methodPattern
                          org.springframework.data.jpa.repository.JpaRepository getOne(..)
                          A method pattern that is used to find matching method declarations/invocations.
                          newMethodName
                          getById
                          The method name that will replace the existing name.
                          matchOverrides
                          true
                          When enabled, find methods that are overrides of the method pattern.

                          Depth: 12

                      • org.openrewrite.java.spring.data.UseJpaRepositoryDeleteAllInBatch

                        Name

                        Use `JpaRepository#deleteAllInBatch(Iterable entities)`

                        Description

                        `JpaRepository#deleteInBatch(Iterable)` was deprecated in 2.5.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.ChangeMethodName

                          Name

                          Change method name

                          Description

                          Rename a method.

                          Used Parameters

                          Name Value Description
                          methodPattern
                          org.springframework.data.jpa.repository.JpaRepository deleteInBatch(..)
                          A method pattern that is used to find matching method declarations/invocations.
                          newMethodName
                          deleteAllInBatch
                          The method name that will replace the existing name.
                          matchOverrides
                          true
                          When enabled, find methods that are overrides of the method pattern.

                          Depth: 12

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework.boot
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      *
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      2.5.x
                      An exact version number or node-style semver selector used to select the version number.
                      overrideManagedVersion
                      false
                      For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                      Depth: 10

                    • org.openrewrite.maven.UpgradePluginVersion

                      Name

                      Upgrade Maven plugin version

                      Description

                      Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework.boot
                      The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                      artifactId
                      spring-boot-maven-plugin
                      The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                      newVersion
                      2.5.x
                      An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                      Depth: 10

                    • org.openrewrite.maven.UpgradeParentVersion

                      Name

                      Upgrade Maven parent project version

                      Description

                      Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework.boot
                      The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                      artifactId
                      spring-boot-starter-parent
                      The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                      newVersion
                      2.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.gradle.plugins.UpgradePluginVersion

                      Name

                      Update a Gradle plugin by id

                      Description

                      Update a Gradle plugin by id to a later version.

                      Used Parameters

                      Name Value Description
                      pluginIdPattern
                      org.springframework.boot
                      The `ID` part of `plugin { ID }`, as a glob expression.
                      newVersion
                      2.5.x
                      An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                      Depth: 10

                    • org.openrewrite.gradle.plugins.UpgradePluginVersion

                      Name

                      Update a Gradle plugin by id

                      Description

                      Update a Gradle plugin by id to a later version.

                      Used Parameters

                      Name Value Description
                      pluginIdPattern
                      io.spring.dependency-management
                      The `ID` part of `plugin { ID }`, as a glob expression.
                      newVersion
                      1.0.x
                      An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                      Depth: 10

                    • org.openrewrite.gradle.UpdateGradleWrapper

                      Name

                      Update Gradle wrapper

                      Description

                      Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

                      Used Parameters

                      Name Value Description
                      version
                      ^6.8
                      An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
                      addIfMissing
                      false
                      Add a Gradle wrapper, if it's missing. Defaults to `true`.

                      Depth: 10

                    • org.openrewrite.java.spring.boot2.MigrateDatabaseCredentials

                      Name

                      Migrate flyway and liquibase credentials

                      Description

                      If you currently define a `spring.flyway.url` or `spring.liquibase.url` you may need to provide additional username and password properties. In earlier versions of Spring Boot, these settings were derived from `spring.datasource` properties but this turned out to be problematic for people that provided their own `DataSource` beans.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.spring.boot2.MigrateDatabaseCredentials$MigrateDatabaseCredentialsForToolYaml

                        Name

                        Migrate flyway credentials

                        Description

                        Migrate flyway credentials.

                        Depth: 11

                      • org.openrewrite.java.spring.boot2.MigrateDatabaseCredentials$MigrateDatabaseCredentialsForToolProperties

                        Name

                        Migrate flyway credentials

                        Description

                        Migrate flyway credentials.

                        Depth: 11

                      • org.openrewrite.java.spring.boot2.MigrateDatabaseCredentials$MigrateDatabaseCredentialsForToolYaml

                        Name

                        Migrate liquibase credentials

                        Description

                        Migrate liquibase credentials.

                        Depth: 11

                      • org.openrewrite.java.spring.boot2.MigrateDatabaseCredentials$MigrateDatabaseCredentialsForToolProperties

                        Name

                        Migrate liquibase credentials

                        Description

                        Migrate liquibase credentials.

                        Depth: 11

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      mysql
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      mysql-connector-java
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      com.mysql
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      mysql-connector-j
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      8.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.spring.boot2.MigrateActuatorMediaTypeToApiVersion

                      Name

                      Migrate deprecated `ActuatorMediaType` to `ApiVersion#getProducedMimeType`

                      Description

                      Spring Boot `ActuatorMediaType` was deprecated in 2.5 in favor of `ApiVersion#getProducedMimeType()`. Replace `MediaType.parseMediaType(ActuatorMediaType.Vx_JSON)` with `MediaType.asMediaType(ApiVersion.Vx.getProducedMimeType())`.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.springframework.boot.autoconfigure.data.jpa.EntityManagerFactoryDependsOnPostProcessor
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.springframework.boot.autoconfigure.orm.jpa.EntityManagerFactoryDependsOnPostProcessor
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.springframework.boot.autoconfigure.web.ResourceProperties
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.springframework.boot.autoconfigure.web.WebProperties$Resources
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.spring.boot2.SpringBootProperties_2_5

                      Name

                      Migrate Spring Boot properties to 2.5

                      Description

                      Migrate properties found in `application.properties` and `application.yml`.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.artemis.host
                        The property key to rename.
                        newPropertyKey
                        spring.artemis.broker-url
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.artemis.port
                        The property key to rename.
                        newPropertyKey
                        spring.artemis.broker-url
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.batch.initialize-schema
                        The property key to rename.
                        newPropertyKey
                        spring.batch.jdbc.initialize-schema
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.batch.initializer.enabled
                        The property key to rename.
                        newPropertyKey
                        spring.batch.jdbc.initialize-schema
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.batch.schema
                        The property key to rename.
                        newPropertyKey
                        spring.batch.jdbc.schema
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.batch.table-prefix
                        The property key to rename.
                        newPropertyKey
                        spring.batch.jdbc.table-prefix
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.data.neo4j.username
                        The property key to rename.
                        newPropertyKey
                        spring.neo4j.authentication.username
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.continue-on-error
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.continue-on-error
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.data
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.data-locations
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.data-password
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.password
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.data-username
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.username
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.initialization-mode
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.mode
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.platform
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.platform
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.schema
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.schema-locations
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.schema-password
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.password
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.schema-username
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.username
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.separator
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.separator
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.datasource.sql-script-encoding
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.encoding
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.ChangeSpringPropertyKey

                        Name

                        Change the key of a spring application property

                        Description

                        Change spring application property keys existing in either Properties or Yaml files.

                        Used Parameters

                        Name Value Description
                        oldPropertyKey
                        spring.sql.init.enabled
                        The property key to rename.
                        newPropertyKey
                        spring.sql.init.mode
                        The new name for the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.flyway.check-location
                        The name of the property key to comment out.
                        comment
                        This property is deprecated: Locations can no longer be checked accurately due to changes in Flyway's location support.
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.acquire-increment
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.acquisition-interval
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.acquisition-timeout
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.allow-local-transactions
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.apply-transaction-timeout
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.cache-producers-consumers
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.class-name
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.defer-connection-release
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.disabled
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.driver-properties
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.ignore-recovery-failures
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.max-idle-time
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.max-pool-size
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.min-pool-size
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.password
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.share-transaction-connections
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.test-connections
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.two-pc-ordering-position
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.unique-name
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.use-tm-join
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.connectionfactory.user
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.acquire-increment
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.acquisition-interval
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.acquisition-timeout
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.allow-local-transactions
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.apply-transaction-timeout
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.automatic-enlisting-enabled
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.class-name
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.cursor-holdability
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.defer-connection-release
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.disabled
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.driver-properties
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.enable-jdbc4-connection-test
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.ignore-recovery-failures
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.isolation-level
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.local-auto-commit
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.login-timeout
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.max-idle-time
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.max-pool-size
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.min-pool-size
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.prepared-statement-cache-size
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.share-transaction-connections
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.test-query
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.two-pc-ordering-position
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.unique-name
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.datasource.use-tm-join
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                      • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                        Name

                        Comment out Spring properties

                        Description

                        Add comment to specified Spring properties, and comment out the property.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        spring.jta.bitronix.properties.background-recovery-interval
                        The name of the property key to comment out.
                        comment
                        This property is deprecated and will be removed in future Spring Boot versions
                        Comment to replace the property key.

                        Depth: 11

                    • org.openrewrite.java.spring.boot2.DatabaseComponentAndBeanInitializationOrdering

                      Name

                      Adds `@DependsOnDatabaseInitialization` to Spring Beans and Components depending on `javax.sql.DataSource`

                      Description

                      Beans of certain well-known types, such as `JdbcTemplate`, will be ordered so that they are initialized after the database has been initialized. If you have a bean that works with the `DataSource` directly, annotate its class or `@Bean` method with `@DependsOnDatabaseInitialization` to ensure that it too is initialized after the database has been initialized. See the [release notes](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-2.5-Release-Notes#initialization-ordering) for more.

                      Depth: 10

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.boot
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.6.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.maven.UpgradePluginVersion

                    Name

                    Upgrade Maven plugin version

                    Description

                    Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.boot
                    The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    artifactId
                    spring-boot-maven-plugin
                    The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    newVersion
                    2.6.x
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                    Depth: 9

                  • org.openrewrite.maven.UpgradeParentVersion

                    Name

                    Upgrade Maven parent project version

                    Description

                    Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.boot
                    The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                    artifactId
                    spring-boot-starter-parent
                    The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                    newVersion
                    2.6.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.gradle.plugins.UpgradePluginVersion

                    Name

                    Update a Gradle plugin by id

                    Description

                    Update a Gradle plugin by id to a later version.

                    Used Parameters

                    Name Value Description
                    pluginIdPattern
                    org.springframework.boot
                    The `ID` part of `plugin { ID }`, as a glob expression.
                    newVersion
                    2.6.x
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                    Depth: 9

                  • org.openrewrite.java.springdoc.SpringFoxToSpringDoc

                    Name

                    Migrate from SpringFox Swagger to SpringDoc and OpenAPI

                    Description

                    Migrate from SpringFox Swagger to SpringDoc and OpenAPI.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.springdoc.SwaggerToSpringDoc

                      Name

                      Migrate from Swagger to SpringDoc and OpenAPI

                      Description

                      Migrate from Swagger to SpringDoc and OpenAPI.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.openapi.swagger.SwaggerToOpenAPI

                        Name

                        Migrate from Swagger to OpenAPI

                        Description

                        Migrate from Swagger to OpenAPI.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.dependencies.ChangeDependency

                          Name

                          Change Gradle or Maven dependency

                          Description

                          Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                          Used Parameters

                          Name Value Description
                          oldGroupId
                          io.swagger
                          The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                          oldArtifactId
                          swagger-annotations
                          The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                          newGroupId
                          io.swagger.core.v3
                          The new group ID to use. Defaults to the existing group ID.
                          newVersion
                          2.2.x
                          An exact version number or node-style semver selector used to select the version number.

                          Depth: 12

                        • org.openrewrite.java.dependencies.ChangeDependency

                          Name

                          Change Gradle or Maven dependency

                          Description

                          Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                          Used Parameters

                          Name Value Description
                          oldGroupId
                          io.swagger
                          The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                          oldArtifactId
                          swagger-core
                          The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                          newGroupId
                          io.swagger.core.v3
                          The new group ID to use. Defaults to the existing group ID.
                          newVersion
                          2.2.x
                          An exact version number or node-style semver selector used to select the version number.

                          Depth: 12

                        • org.openrewrite.java.dependencies.ChangeDependency

                          Name

                          Change Gradle or Maven dependency

                          Description

                          Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                          Used Parameters

                          Name Value Description
                          oldGroupId
                          io.swagger
                          The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                          oldArtifactId
                          swagger-models
                          The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                          newGroupId
                          io.swagger.core.v3
                          The new group ID to use. Defaults to the existing group ID.
                          newVersion
                          2.2.x
                          An exact version number or node-style semver selector used to select the version number.

                          Depth: 12

                        • org.openrewrite.java.ChangeType

                          Name

                          Change type

                          Description

                          Change a given type to another.

                          Used Parameters

                          Name Value Description
                          oldFullyQualifiedTypeName
                          io.swagger.annotations.Tag
                          Fully-qualified class name of the original type.
                          newFullyQualifiedTypeName
                          io.swagger.v3.oas.annotations.tags.Tag
                          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                          Depth: 12

                        • org.openrewrite.openapi.swagger.MigrateApiOperationToOperation

                          Name

                          Migrate from `@ApiOperation` to `@Operation`

                          Description

                          Converts the `@ApiOperation` annotation to `@Operation` and converts the directly mappable attributes and removes the others.

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            io.swagger.annotations.ApiOperation
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            io.swagger.v3.oas.annotations.Operation
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeAnnotationAttributeName

                            Name

                            Change annotation attribute name

                            Description

                            Some annotations accept arguments. This recipe renames an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Operation
                            The fully qualified name of the annotation.
                            oldAttributeName
                            notes
                            The name of attribute to change.
                            newAttributeName
                            description
                            The new attribute name to use.

                            Depth: 13

                          • org.openrewrite.java.ChangeAnnotationAttributeName

                            Name

                            Change annotation attribute name

                            Description

                            Some annotations accept arguments. This recipe renames an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Operation
                            The fully qualified name of the annotation.
                            oldAttributeName
                            value
                            The name of attribute to change.
                            newAttributeName
                            summary
                            The new attribute name to use.

                            Depth: 13

                          • org.openrewrite.java.RemoveAnnotationAttribute

                            Name

                            Remove annotation attribute

                            Description

                            Some annotations accept arguments. This recipe removes an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Operation
                            The fully qualified name of the annotation.
                            attributeName
                            response
                            The name of attribute to remove.

                            Depth: 13

                          • org.openrewrite.java.RemoveAnnotationAttribute

                            Name

                            Remove annotation attribute

                            Description

                            Some annotations accept arguments. This recipe removes an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Operation
                            The fully qualified name of the annotation.
                            attributeName
                            consumes
                            The name of attribute to remove.

                            Depth: 13

                          • org.openrewrite.java.RemoveAnnotationAttribute

                            Name

                            Remove annotation attribute

                            Description

                            Some annotations accept arguments. This recipe removes an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Operation
                            The fully qualified name of the annotation.
                            attributeName
                            produces
                            The name of attribute to remove.

                            Depth: 13

                        • org.openrewrite.openapi.swagger.MigrateApiResponsesToApiResponses

                          Name

                          Migrate from `@ApiResponses` to `@ApiResponses`

                          Description

                          Changes the namespace of the `@ApiResponses` and `@ApiResponse` annotations and converts its attributes (ex. code -> responseCode, message -> description).

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            io.swagger.annotations.ApiResponses
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            io.swagger.v3.oas.annotations.responses.ApiResponses
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            io.swagger.annotations.ApiResponse
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            io.swagger.v3.oas.annotations.responses.ApiResponse
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeAnnotationAttributeName

                            Name

                            Change annotation attribute name

                            Description

                            Some annotations accept arguments. This recipe renames an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.responses.ApiResponse
                            The fully qualified name of the annotation.
                            oldAttributeName
                            code
                            The name of attribute to change.
                            newAttributeName
                            responseCode
                            The new attribute name to use.

                            Depth: 13

                          • org.openrewrite.java.ChangeAnnotationAttributeName

                            Name

                            Change annotation attribute name

                            Description

                            Some annotations accept arguments. This recipe renames an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.responses.ApiResponse
                            The fully qualified name of the annotation.
                            oldAttributeName
                            message
                            The name of attribute to change.
                            newAttributeName
                            description
                            The new attribute name to use.

                            Depth: 13

                          • org.openrewrite.openapi.swagger.ConvertApiResponseCodesToStrings

                            Name

                            Convert API response codes to strings

                            Description

                            Convert API response codes to strings.

                            Depth: 13

                        • org.openrewrite.openapi.swagger.MigrateApiImplicitParamsToParameters

                          Name

                          Migrate from `@ApiImplicitParams` to `@Parameters`

                          Description

                          Converts `@ApiImplicitParams` to `@Parameters` and the `@ApiImplicitParam` annotation to `@Parameter` and converts the directly mappable attributes and removes the others.

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            io.swagger.annotations.ApiImplicitParams
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            io.swagger.v3.oas.annotations.Parameters
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            io.swagger.annotations.ApiImplicitParam
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            io.swagger.v3.oas.annotations.Parameter
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeAnnotationAttributeName

                            Name

                            Change annotation attribute name

                            Description

                            Some annotations accept arguments. This recipe renames an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Parameter
                            The fully qualified name of the annotation.
                            oldAttributeName
                            value
                            The name of attribute to change.
                            newAttributeName
                            description
                            The new attribute name to use.

                            Depth: 13

                          • org.openrewrite.java.RemoveAnnotationAttribute

                            Name

                            Remove annotation attribute

                            Description

                            Some annotations accept arguments. This recipe removes an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Parameter
                            The fully qualified name of the annotation.
                            attributeName
                            dataType
                            The name of attribute to remove.

                            Depth: 13

                          • org.openrewrite.java.RemoveAnnotationAttribute

                            Name

                            Remove annotation attribute

                            Description

                            Some annotations accept arguments. This recipe removes an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Parameter
                            The fully qualified name of the annotation.
                            attributeName
                            paramType
                            The name of attribute to remove.

                            Depth: 13

                          • org.openrewrite.java.RemoveAnnotationAttribute

                            Name

                            Remove annotation attribute

                            Description

                            Some annotations accept arguments. This recipe removes an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Parameter
                            The fully qualified name of the annotation.
                            attributeName
                            allowMultiple
                            The name of attribute to remove.

                            Depth: 13

                        • org.openrewrite.openapi.swagger.MigrateApiToTag

                          Name

                          Migrate from `@Api` to `@Tag`

                          Description

                          Converts `@Api` to `@Tag` annotation and converts the directly mappable attributes and removes the others.

                          Depth: 12

                        • org.openrewrite.openapi.swagger.MigrateApiParamToParameter

                          Name

                          Migrate from `@ApiParam` to `@Parameter`

                          Description

                          Converts the `@ApiParam` annotation to `@Parameter` and converts the directly mappable attributes.

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            io.swagger.annotations.ApiParam
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            io.swagger.v3.oas.annotations.Parameter
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeAnnotationAttributeName

                            Name

                            Change annotation attribute name

                            Description

                            Some annotations accept arguments. This recipe renames an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.Parameter
                            The fully qualified name of the annotation.
                            oldAttributeName
                            value
                            The name of attribute to change.
                            newAttributeName
                            description
                            The new attribute name to use.

                            Depth: 13

                        • org.openrewrite.openapi.swagger.MigrateApiModelPropertyToSchema

                          Name

                          Migrate from `@ApiModelProperty` to `@Schema`

                          Description

                          Converts the `@ApiModelProperty` annotation to `@Schema` and converts the "value" attribute to "description".

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            io.swagger.annotations.ApiModelProperty
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            io.swagger.v3.oas.annotations.media.Schema
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeAnnotationAttributeName

                            Name

                            Change annotation attribute name

                            Description

                            Some annotations accept arguments. This recipe renames an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.media.Schema
                            The fully qualified name of the annotation.
                            oldAttributeName
                            value
                            The name of attribute to change.
                            newAttributeName
                            description
                            The new attribute name to use.

                            Depth: 13

                          • org.openrewrite.java.RemoveAnnotationAttribute

                            Name

                            Remove annotation attribute

                            Description

                            Some annotations accept arguments. This recipe removes an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.media.Schema
                            The fully qualified name of the annotation.
                            attributeName
                            position
                            The name of attribute to remove.

                            Depth: 13

                        • org.openrewrite.openapi.swagger.MigrateApiModelToSchema

                          Name

                          Migrate from `@ApiModel` to `@Schema`

                          Description

                          Converts the `@ApiModel` annotation to `@Schema` and converts the "value" attribute to "name".

                          Depth: 12

                          Included recipes

                          • org.openrewrite.java.ChangeType

                            Name

                            Change type

                            Description

                            Change a given type to another.

                            Used Parameters

                            Name Value Description
                            oldFullyQualifiedTypeName
                            io.swagger.annotations.ApiModel
                            Fully-qualified class name of the original type.
                            newFullyQualifiedTypeName
                            io.swagger.v3.oas.annotations.media.Schema
                            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                            Depth: 13

                          • org.openrewrite.java.ChangeAnnotationAttributeName

                            Name

                            Change annotation attribute name

                            Description

                            Some annotations accept arguments. This recipe renames an existing attribute.

                            Used Parameters

                            Name Value Description
                            annotationType
                            io.swagger.v3.oas.annotations.media.Schema
                            The fully qualified name of the annotation.
                            oldAttributeName
                            value
                            The name of attribute to change.
                            newAttributeName
                            name
                            The new attribute name to use.

                            Depth: 13

                      • org.openrewrite.java.spring.DeleteSpringProperty

                        Name

                        Delete a spring configuration property

                        Description

                        Delete a spring configuration property from any configuration file that contains a matching key.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        swagger.title
                        The property key to delete. Supports glob expressions

                        Depth: 11

                      • org.openrewrite.java.spring.DeleteSpringProperty

                        Name

                        Delete a spring configuration property

                        Description

                        Delete a spring configuration property from any configuration file that contains a matching key.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        swagger.description
                        The property key to delete. Supports glob expressions

                        Depth: 11

                      • org.openrewrite.java.spring.DeleteSpringProperty

                        Name

                        Delete a spring configuration property

                        Description

                        Delete a spring configuration property from any configuration file that contains a matching key.

                        Used Parameters

                        Name Value Description
                        propertyKey
                        swagger.contact
                        The property key to delete. Supports glob expressions

                        Depth: 11

                      • org.openrewrite.java.dependencies.RemoveDependency

                        Name

                        Remove a Gradle or Maven dependency

                        Description

                        For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                        Used Parameters

                        Name Value Description
                        groupId
                        io.swagger.core.v3
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        artifactId
                        swagger-annotations
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                        Depth: 11

                    • org.openrewrite.java.springdoc.ReplaceSpringFoxDependencies

                      Name

                      Replace SpringFox Dependencies

                      Description

                      Replace SpringFox Dependencies.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

                        Name

                        Precondition bellwether

                        Description

                        Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

                        Depth: 11

                      • org.openrewrite.java.dependencies.RemoveDependency

                        Name

                        Remove a Gradle or Maven dependency

                        Description

                        For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                        Depth: 11

                      • org.openrewrite.java.dependencies.AddDependency

                        Name

                        Add Gradle or Maven dependency

                        Description

                        For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                        Depth: 11

                    • org.openrewrite.java.springdoc.MigrateSpringdocCommon

                      Name

                      Migrate from springdoc-openapi-common to springdoc-openapi-starter-common

                      Description

                      Migrate from springdoc-openapi-common to springdoc-openapi-starter-common.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        org.springdoc.core.customizers.OpenApiCustomiser
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        org.springdoc.core.customizers.OpenApiCustomizer
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        org.springdoc.core.GroupedOpenApi.Builder addOpenApiCustomiser(..)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        addOpenApiCustomizer
                        The method name that will replace the existing name.

                        Depth: 11

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        org.springdoc.core.GroupedOpenApi
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        org.springdoc.core.models.GroupedOpenApi
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springdoc
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    1.5.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.SpringBootProperties_2_6

                    Name

                    Migrate Spring Boot properties to 2.6

                    Description

                    Migrate properties found in `application.properties` and `application.yml`.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      management.metrics.export.dynatrace.device-id
                      The property key to rename.
                      newPropertyKey
                      management.metrics.export.dynatrace.v1.device-id
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      management.metrics.export.dynatrace.group
                      The property key to rename.
                      newPropertyKey
                      management.metrics.export.dynatrace.v1.group
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      management.metrics.export.dynatrace.technology-type
                      The property key to rename.
                      newPropertyKey
                      management.metrics.export.dynatrace.v1.technology-type
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.data.elasticsearch.client.reactive.connection-timeout
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.connection-timeout
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.data.elasticsearch.client.reactive.endpoints
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.uris
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.data.elasticsearch.client.reactive.max-in-memory-size
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.webclient.max-in-memory-size
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.data.elasticsearch.client.reactive.password
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.password
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.data.elasticsearch.client.reactive.socket-timeout
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.socket-timeout
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.data.elasticsearch.client.reactive.username
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.username
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.elasticsearch.rest.connection-timeout
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.connection-timeout
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.elasticsearch.rest.password
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.password
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.elasticsearch.rest.read-timeout
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.socket-timeout
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.elasticsearch.rest.sniffer.delay-after-failure
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.restclient.sniffer.delay-after-failure
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.elasticsearch.rest.sniffer.interval
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.restclient.sniffer.interval
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.elasticsearch.rest.uris
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.uris
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.elasticsearch.rest.username
                      The property key to rename.
                      newPropertyKey
                      spring.elasticsearch.username
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.flyway.ignore-future-migrations
                      The property key to rename.
                      newPropertyKey
                      spring.flyway.ignore-migration-patterns
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.flyway.ignore-ignored-migrations
                      The property key to rename.
                      newPropertyKey
                      spring.flyway.ignore-migration-patterns
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.flyway.ignore-missing-migrations
                      The property key to rename.
                      newPropertyKey
                      spring.flyway.ignore-migration-patterns
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.flyway.ignore-pending-migrations
                      The property key to rename.
                      newPropertyKey
                      spring.flyway.ignore-migration-patterns
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.flyway.oracle-kerberos-config-file
                      The property key to rename.
                      newPropertyKey
                      spring.flyway.kerberos-config-file
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.resources.chain.gzipped
                      The property key to rename.
                      newPropertyKey
                      spring.web.resources.chain.compressed
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.ChangeSpringPropertyKey

                      Name

                      Change the key of a spring application property

                      Description

                      Change spring application property keys existing in either Properties or Yaml files.

                      Used Parameters

                      Name Value Description
                      oldPropertyKey
                      spring.webflux.session.cookie.same-site
                      The property key to rename.
                      newPropertyKey
                      server.reactive.session.cookie.same-site
                      The new name for the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                      Name

                      Comment out Spring properties

                      Description

                      Add comment to specified Spring properties, and comment out the property.

                      Used Parameters

                      Name Value Description
                      propertyKey
                      spring.data.elasticsearch.client.reactive.use-ssl
                      The name of the property key to comment out.
                      comment
                      This property is deprecated: Use of SSL should be indicated through an https URI scheme
                      Comment to replace the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                      Name

                      Comment out Spring properties

                      Description

                      Add comment to specified Spring properties, and comment out the property.

                      Used Parameters

                      Name Value Description
                      propertyKey
                      spring.flyway.vault-secrets
                      The name of the property key to comment out.
                      comment
                      This property is deprecated: Removed in the open source release of Flyway 7.12.
                      Comment to replace the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                      Name

                      Comment out Spring properties

                      Description

                      Add comment to specified Spring properties, and comment out the property.

                      Used Parameters

                      Name Value Description
                      propertyKey
                      spring.flyway.vault-token
                      The name of the property key to comment out.
                      comment
                      This property is deprecated: Removed in the open source release of Flyway 7.12.
                      Comment to replace the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                      Name

                      Comment out Spring properties

                      Description

                      Add comment to specified Spring properties, and comment out the property.

                      Used Parameters

                      Name Value Description
                      propertyKey
                      spring.flyway.vault-url
                      The name of the property key to comment out.
                      comment
                      This property is deprecated: Removed in the open source release of Flyway 7.12.
                      Comment to replace the property key.

                      Depth: 10

                    • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                      Name

                      Comment out Spring properties

                      Description

                      Add comment to specified Spring properties, and comment out the property.

                      Used Parameters

                      Name Value Description
                      propertyKey
                      spring.kafka.listener.only-log-record-metadata
                      The name of the property key to comment out.
                      comment
                      This property is deprecated: Use KafkaUtils#setConsumerRecordFormatter instead.
                      Comment to replace the property key.

                      Depth: 10

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-dependencies
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2021.0.X
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.boot
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  2.7.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.maven.UpgradePluginVersion

                  Name

                  Upgrade Maven plugin version

                  Description

                  Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.boot
                  The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                  artifactId
                  spring-boot-maven-plugin
                  The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                  newVersion
                  2.7.x
                  An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                  Depth: 8

                • org.openrewrite.maven.UpgradeParentVersion

                  Name

                  Upgrade Maven parent project version

                  Description

                  Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.boot
                  The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                  artifactId
                  spring-boot-starter-parent
                  The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                  newVersion
                  2.7.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.gradle.plugins.UpgradePluginVersion

                  Name

                  Update a Gradle plugin by id

                  Description

                  Update a Gradle plugin by id to a later version.

                  Used Parameters

                  Name Value Description
                  pluginIdPattern
                  org.springframework.boot
                  The `ID` part of `plugin { ID }`, as a glob expression.
                  newVersion
                  2.7.x
                  An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  5.3.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.spring.data.UpgradeSpringData_2_7

                  Name

                  Migrate to Spring Data 2.7

                  Description

                  Migrate applications to the latest Spring Data 2.7 release.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.data.UpgradeSpringData_2_5

                    Name

                    Migrate to Spring Data 2.5

                    Description

                    Migrate applications to the latest Spring Data 2.5 release.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.spring.data.UpgradeSpringData_2_3

                      Name

                      Migrate to Spring Data 2.3

                      Description

                      Migrate applications to the latest Spring Data 2.3 release.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.spring.data.MigrateJpaSort

                        Name

                        Use `JpaSort.of(..)`

                        Description

                        Equivalent constructors in `JpaSort` were deprecated in Spring Data 2.3.

                        Depth: 11

                      • org.openrewrite.java.dependencies.AddDependency

                        Name

                        Add Gradle or Maven dependency

                        Description

                        For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.mongodb
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                        artifactId
                        mongodb-driver-legacy
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                        version
                        5.1.x
                        An exact version number or node-style semver selector used to select the version number.
                        onlyIfUsing
                        com.mongodb.MongoClientURI
                        Used to determine if the dependency will be added and in which scope it should be placed.

                        Depth: 11

                      • org.openrewrite.java.spring.data.RefactorSimpleMongoDbFactory

                        Name

                        Use `new SimpleMongoClientDbFactory(String)`

                        Description

                        Replace usage of deprecated `new SimpleMongoDbFactory(new MongoClientURI(String))` with `new SimpleMongoClientDbFactory(String)`.

                        Depth: 11

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        org.springframework.data.mongodb.MongoDbFactory
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        org.springframework.data.mongodb.MongoDatabaseFactory
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        org.springframework.data.mongodb.core.SimpleMongoDbFactory
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        org.springframework.data.mongodb.core.SimpleMongoClientDbFactory
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        org.springframework.data.mongodb.core.SimpleMongoClientDatabaseFactory
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        com.mongodb.async.client.MongoClientSettings
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        com.mongodb.MongoClientSettings
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.spring.data.UseJpaRepositoryGetById

                      Name

                      Use `JpaRepository#getById(ID id)`

                      Description

                      `JpaRepository#getOne(ID)` was deprecated in 2.5.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        org.springframework.data.jpa.repository.JpaRepository getOne(..)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        getById
                        The method name that will replace the existing name.
                        matchOverrides
                        true
                        When enabled, find methods that are overrides of the method pattern.

                        Depth: 11

                    • org.openrewrite.java.spring.data.UseJpaRepositoryDeleteAllInBatch

                      Name

                      Use `JpaRepository#deleteAllInBatch(Iterable entities)`

                      Description

                      `JpaRepository#deleteInBatch(Iterable)` was deprecated in 2.5.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        org.springframework.data.jpa.repository.JpaRepository deleteInBatch(..)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        deleteAllInBatch
                        The method name that will replace the existing name.
                        matchOverrides
                        true
                        When enabled, find methods that are overrides of the method pattern.

                        Depth: 11

                  • org.openrewrite.java.spring.data.UseJpaRepositoryGetReferenceById

                    Name

                    Use `JpaRepository#getReferenceById(ID id)`

                    Description

                    `JpaRepository#getOne(ID)` was deprecated in 2.5 and `JpaRepository#getById(ID)` was deprecated in 2.7.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangeMethodName

                      Name

                      Change method name

                      Description

                      Rename a method.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.springframework.data.jpa.repository.JpaRepository getById(..)
                      A method pattern that is used to find matching method declarations/invocations.
                      newMethodName
                      getReferenceById
                      The method name that will replace the existing name.
                      matchOverrides
                      true
                      When enabled, find methods that are overrides of the method pattern.

                      Depth: 10

                    • org.openrewrite.java.ChangeMethodName

                      Name

                      Change method name

                      Description

                      Rename a method.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.springframework.data.jpa.repository.JpaRepository getOne(..)
                      A method pattern that is used to find matching method declarations/invocations.
                      newMethodName
                      getReferenceById
                      The method name that will replace the existing name.
                      matchOverrides
                      true
                      When enabled, find methods that are overrides of the method pattern.

                      Depth: 10

                • org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_7

                  Name

                  Migrate to Spring Security 5.7

                  Description

                  Migrate applications to the latest Spring Security 5.7 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.security
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.7.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.WebSecurityConfigurerAdapter

                    Name

                    Spring Security 5.4 introduces the ability to configure `HttpSecurity` by creating a `SecurityFilterChain` bean

                    Description

                    The Spring Security `WebSecurityConfigurerAdapter` was deprecated 5.7, this recipe will transform `WebSecurityConfigurerAdapter` classes by using a component based approach. Check out the [spring-security-without-the-websecurityconfigureradapter](https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter) blog for more details.

                    Depth: 9

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springdoc
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  1.8.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.boot.web.server.LocalServerPort
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springframework.boot.test.web.server.LocalServerPort
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.boot.actuate.autoconfigure.web.server.LocalManagementPort
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springframework.boot.test.web.server.LocalManagementPort
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.boot.rsocket.context.LocalRSocketServerPort
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springframework.boot.test.rsocket.server.LocalRSocketServerPort
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.spring.boot2.SpringBootProperties_2_7

                  Name

                  Migrate Spring Boot properties to 2.7

                  Description

                  Migrate properties found in `application.properties` and `application.yml`.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.flyway.check-location
                    The property key to rename.
                    newPropertyKey
                    spring.flyway.fail-on-missing-locations
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.mustache.allow-request-override
                    The property key to rename.
                    newPropertyKey
                    spring.mustache.servlet.allow-request-override
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.mustache.allow-session-override
                    The property key to rename.
                    newPropertyKey
                    spring.mustache.servlet.allow-session-override
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.mustache.cache
                    The property key to rename.
                    newPropertyKey
                    spring.mustache.servlet.cache
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.mustache.content-type
                    The property key to rename.
                    newPropertyKey
                    spring.mustache.servlet.content-type
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.mustache.expose-request-attributes
                    The property key to rename.
                    newPropertyKey
                    spring.mustache.servlet.expose-request-attributes
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.mustache.expose-session-attributes
                    The property key to rename.
                    newPropertyKey
                    spring.mustache.servlet.expose-session-attributes
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.mustache.expose-spring-macro-helpers
                    The property key to rename.
                    newPropertyKey
                    spring.mustache.servlet.expose-spring-macro-helpers
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.security.oauth2.resourceserver.jwt.jws-algorithm
                    The property key to rename.
                    newPropertyKey
                    spring.security.oauth2.resourceserver.jwt.jws-algorithms
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                    Name

                    Comment out Spring properties

                    Description

                    Add comment to specified Spring properties, and comment out the property.

                    Used Parameters

                    Name Value Description
                    propertyKey
                    server.tomcat.reject-illegal-header
                    The name of the property key to comment out.
                    comment
                    This property is deprecated: The setting has been deprecated in Tomcat
                    Comment to replace the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                    Name

                    Comment out Spring properties

                    Description

                    Add comment to specified Spring properties, and comment out the property.

                    Used Parameters

                    Name Value Description
                    propertyKey
                    server.undertow.allow-encoded-slash
                    The name of the property key to comment out.
                    comment
                    This property is deprecated: This option was interpreted improperly
                    Comment to replace the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                    Name

                    Comment out Spring properties

                    Description

                    Add comment to specified Spring properties, and comment out the property.

                    Used Parameters

                    Name Value Description
                    propertyKey
                    spring.mongodb.embedded.features
                    The name of the property key to comment out.
                    comment
                    This property is deprecated: Feature support has been removed from Embedded Mongo. A custom MongodConfig bean should be defined instead.
                    Comment to replace the property key.

                    Depth: 9

                • org.openrewrite.java.spring.boot2.SamlRelyingPartyPropertyApplicationPropertiesMove

                  Name

                  Move SAML relying party identity provider property to asserting party

                  Description

                  Renames spring.security.saml2.relyingparty.registration.(any).identityprovider to spring.security.saml2.relyingparty.registration.(any).assertingparty.

                  Depth: 8

                • org.openrewrite.yaml.ChangeKey

                  Name

                  Change key

                  Description

                  Change a YAML mapping entry key while leaving the value intact.

                  Used Parameters

                  Name Value Description
                  oldKeyPath
                  $.spring.security.saml2.relyingparty.registration.*[?(@.identityprovider)]
                  A [JsonPath](https://docs.openrewrite.org/reference/jsonpath-and-jsonpathmatcher-reference) expression to locate a YAML entry.
                  newKey
                  assertingparty
                  The new name for the key selected by the `oldKeyPath`.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyValue

                  Name

                  Change the value of a spring application property

                  Description

                  Change spring application property values existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.jpa.hibernate.naming.physical-strategy
                  The name of the property key whose value is to be changed.
                  newValue
                  org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy
                  The new value to be used for key specified by `propertyKey`.
                  oldValue
                  org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
                  Only change the property value if it matches the configured `oldValue`.

                  Depth: 8

              • org.openrewrite.java.spring.boot3.RemoveEnableBatchProcessing

                Name

                Enable Spring Batch Annotation

                Description

                Add or remove the `@EnableBatchProcessing` annotation from a Spring Boot application.

                Depth: 7

              • com.sap.cx.rewrite.java.migrate.UpgradeToJava17

                Name

                Migrate to Java 17

                Description

                This recipe will apply changes commonly needed when migrating to Java 17. Specifically, for those applications that are built on Java 8, this recipe will update and add dependencies on J2EE libraries that are no longer directly bundled with the JDK. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy. Build files will also be updated to use Java 17 as the target/source and plugins will be also be upgraded to versions that are compatible with Java 17.

                Depth: 7

                Included recipes

                • com.sap.cx.rewrite.java.migrate.Java8toJava11

                  Name

                  Migrate to Java 11

                  Description

                  This recipe will apply changes commonly needed when upgrading to Java 11. Specifically, for those applications that are built on Java 8, this recipe will update and add dependencies on J2EE libraries that are no longer directly bundled with the JDK. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy. Build files will also be updated to use Java 11 as the target/source and plugins will be also be upgraded to versions that are compatible with Java 11.

                  Depth: 8

                  Included recipes

                  • com.sap.cx.rewrite.java.migrate.UpgradeToJava8

                    Name

                    Migrate to Java 8

                    Description

                    This recipe will apply changes commonly needed when upgrading to Java 8. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy.

                    Depth: 9

                    Included recipes

                    • com.sap.cx.rewrite.java.migrate.UpgradeToJava7

                      Name

                      Migrate to Java 7

                      Description

                      This recipe will apply changes commonly needed when upgrading to Java 7. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.migrate.JREThrowableFinalMethods

                        Name

                        Rename final method declarations `getSuppressed()` and `addSuppressed(Throwable exception)` in classes that extend `Throwable`

                        Description

                        The recipe renames `getSuppressed()` and `addSuppressed(Throwable exception)` methods in classes that extend `java.lang.Throwable` to `myGetSuppressed` and `myAddSuppressed(Throwable)`.These methods were added to Throwable in Java 7 and are marked final which cannot be overridden.

                        Depth: 11

                      • org.openrewrite.java.migrate.util.ReplaceMathRandomWithThreadLocalRandomRecipe

                        Name

                        Replace `java.lang.Math random()` with `ThreadLocalRandom nextDouble()`

                        Description

                        Replace `java.lang.Math random()` with `ThreadLocalRandom nextDouble()` to reduce contention.

                        Depth: 11

                    • org.openrewrite.java.migrate.MXBeanRule

                      Name

                      MBean and MXBean interfaces must be public

                      Description

                      Sets visibility of MBean and MXBean interfaces to public.

                      Depth: 10

                    • org.openrewrite.java.RemoveMethodInvocations

                      Name

                      Remove method invocations

                      Description

                      Remove method invocations if syntactically safe.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      java.lang.Thread destroy()
                      A pattern to match method invocations for removal.

                      Depth: 10

                  • org.openrewrite.java.migrate.UseJavaUtilBase64

                    Name

                    Prefer `java.util.Base64` instead of `sun.misc`

                    Description

                    Prefer `java.util.Base64` instead of using `sun.misc` in Java 8 or higher. `sun.misc` is not exported by the Java module system and accessing this class will result in a warning in Java 11 and an error in Java 17.

                    Used Parameters

                    Name Value Description
                    useMimeCoder
                    false
                    Use `Base64.getMimeEncoder()/getMimeDecoder()` instead of `Base64.getEncoder()/getDecoder()`.

                    Depth: 9

                  • org.openrewrite.java.migrate.javax.AddJaxbDependencies

                    Name

                    Add explicit JAXB dependencies

                    Description

                    This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.RemoveDependency

                      Name

                      Remove a Gradle or Maven dependency

                      Description

                      For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                      Used Parameters

                      Name Value Description
                      groupId
                      com.sun.xml.bind
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jaxb-core
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                      Depth: 10

                    • org.openrewrite.maven.RemoveManagedDependency

                      Name

                      Remove Maven managed dependency

                      Description

                      Removes a single managed dependency from the section of the pom.xml.

                      Used Parameters

                      Name Value Description
                      groupId
                      com.sun.xml.bind
                      The first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jaxb-core
                      The second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      javax.xml.bind
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      jaxb-api
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      jakarta.xml.bind
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      jakarta.xml.bind-api
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      2.3.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                      Name

                      Change Maven managed dependency groupId, artifactId and optionally the version

                      Description

                      Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      javax.xml.bind
                      The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                      oldArtifactId
                      jaxb-api
                      The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                      newGroupId
                      jakarta.xml.bind
                      The new groupId to use.
                      newArtifactId
                      jakarta.xml.bind-api
                      The new artifactId to use.
                      newVersion
                      2.3.x
                      The new version to use.

                      Depth: 10

                    • org.openrewrite.java.dependencies.AddDependency

                      Name

                      Add Gradle or Maven dependency

                      Description

                      For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.bind
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jakarta.xml.bind-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                      version
                      2.3.x
                      An exact version number or node-style semver selector used to select the version number.
                      onlyIfUsing
                      javax.xml.bind..*
                      Used to determine if the dependency will be added and in which scope it should be placed.
                      acceptTransitive
                      true
                      Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.bind
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jakarta.xml.bind-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      2.3.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.migrate.javax.AddJaxbRuntime

                      Name

                      Use latest JAXB API and runtime for Jakarta EE 8

                      Description

                      Update build files to use the latest JAXB runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAXB run-time, in Gradle `compileOnly`+`testImplementation` and Maven `provided` scope, to any project that has a transitive dependency on the JAXB API. **The resulting dependencies still use the `javax` namespace, despite the move to the Jakarta artifact**.

                      Used Parameters

                      Name Value Description
                      runtime
                      glassfish
                      Which implementation of the JAXB run-time that will be added to maven projects that have transitive dependencies on the JAXB API

                      Depth: 10

                    • org.openrewrite.maven.RemoveRedundantDependencyVersions

                      Name

                      Remove redundant explicit dependency and plugin versions

                      Description

                      Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

                      Used Parameters

                      Name Value Description
                      groupPattern
                      org.glassfish.jaxb
                      Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactPattern
                      *
                      Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      onlyIfVersionsMatch
                      true
                      Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

                      Depth: 10

                    • org.openrewrite.maven.RemoveRedundantDependencyVersions

                      Name

                      Remove redundant explicit dependency and plugin versions

                      Description

                      Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

                      Used Parameters

                      Name Value Description
                      groupPattern
                      com.sun.xml.bind
                      Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactPattern
                      *
                      Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      onlyIfVersionsMatch
                      true
                      Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

                      Depth: 10

                    • org.openrewrite.maven.RemoveRedundantDependencyVersions

                      Name

                      Remove redundant explicit dependency and plugin versions

                      Description

                      Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

                      Used Parameters

                      Name Value Description
                      groupPattern
                      jakarta.xml.bind
                      Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactPattern
                      *
                      Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      onlyIfVersionsMatch
                      true
                      Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

                      Depth: 10

                    • org.openrewrite.maven.UpgradePluginVersion

                      Name

                      Upgrade Maven plugin version

                      Description

                      Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.codehaus.mojo
                      The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                      artifactId
                      jaxb2-maven-plugin
                      The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                      newVersion
                      2.5.x
                      An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                      Depth: 10

                  • org.openrewrite.java.migrate.javax.AddJaxwsDependencies

                    Name

                    Add explicit JAX-WS dependencies

                    Description

                    This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAX-WS. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 but the application can continue to use the `javax.xml.bind` namespace.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.RemoveDependency

                      Name

                      Remove a Gradle or Maven dependency

                      Description

                      For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                      Used Parameters

                      Name Value Description
                      groupId
                      com.sun.xml.ws
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jaxws-ri
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                      Depth: 10

                    • org.openrewrite.maven.RemoveManagedDependency

                      Name

                      Remove Maven managed dependency

                      Description

                      Removes a single managed dependency from the section of the pom.xml.

                      Used Parameters

                      Name Value Description
                      groupId
                      com.sun.xml.ws
                      The first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jaxws-ri
                      The second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      javax.xml.ws
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      jaxws-api
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      jakarta.xml.ws
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      jakarta.xml.ws-api
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      2.3.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                      Name

                      Change Maven managed dependency groupId, artifactId and optionally the version

                      Description

                      Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      javax.xml.ws
                      The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                      oldArtifactId
                      jaxws-api
                      The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                      newGroupId
                      jakarta.xml.ws
                      The new groupId to use.
                      newArtifactId
                      jakarta.xml.ws-api
                      The new artifactId to use.
                      newVersion
                      2.3.x
                      The new version to use.

                      Depth: 10

                    • org.openrewrite.java.dependencies.AddDependency

                      Name

                      Add Gradle or Maven dependency

                      Description

                      For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.ws
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jakarta.xml.ws-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                      version
                      2.3.x
                      An exact version number or node-style semver selector used to select the version number.
                      onlyIfUsing
                      javax.jws..*
                      Used to determine if the dependency will be added and in which scope it should be placed.
                      acceptTransitive
                      true
                      Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                      Depth: 10

                    • org.openrewrite.java.dependencies.AddDependency

                      Name

                      Add Gradle or Maven dependency

                      Description

                      For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.ws
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jakarta.xml.ws-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                      version
                      2.3.x
                      An exact version number or node-style semver selector used to select the version number.
                      onlyIfUsing
                      javax.xml.ws..*
                      Used to determine if the dependency will be added and in which scope it should be placed.
                      acceptTransitive
                      true
                      Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.ws
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jakarta.xml.ws-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      2.3.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.migrate.javax.AddJaxwsRuntime

                      Name

                      Use the latest JAX-WS API and runtime for Jakarta EE 8

                      Description

                      Update build files to use the latest JAX-WS runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAX-WS run-time, in Gradle `compileOnly`+`testImplementation` and Maven `provided` scope, to any project that has a transitive dependency on the JAX-WS API. **The resulting dependencies still use the `javax` namespace, despite the move to the Jakarta artifact**.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.migrate.javax.AddJaxwsRuntime$AddJaxwsRuntimeGradle

                        Name

                        Use the latest JAX-WS API and runtime for Jakarta EE 8

                        Description

                        Update Gradle build files to use the latest JAX-WS runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAX-WS run-time, in `compileOnly`+`testImplementation` configurations, to any project that has a transitive dependency on the JAX-WS API. **The resulting dependencies still use the `javax` namespace, despite the move to the Jakarta artifact**.

                        Depth: 11

                      • org.openrewrite.java.migrate.javax.AddJaxwsRuntime$AddJaxwsRuntimeMaven

                        Name

                        Use the latest JAX-WS API and runtime for Jakarta EE 8

                        Description

                        Update maven build files to use the latest JAX-WS runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAX-WS run-time, in `provided` scope, to any project that has a transitive dependency on the JAX-WS API. **The resulting dependencies still use the `javax` namespace, despite the move to the Jakarta artifact**.

                        Depth: 11

                    • org.openrewrite.maven.RemoveRedundantDependencyVersions

                      Name

                      Remove redundant explicit dependency and plugin versions

                      Description

                      Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

                      Used Parameters

                      Name Value Description
                      groupPattern
                      jakarta.xml.ws
                      Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactPattern
                      *
                      Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      onlyIfVersionsMatch
                      true
                      Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

                      Depth: 10

                    • org.openrewrite.maven.RemoveRedundantDependencyVersions

                      Name

                      Remove redundant explicit dependency and plugin versions

                      Description

                      Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

                      Used Parameters

                      Name Value Description
                      groupPattern
                      com.sun.xml.ws
                      Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactPattern
                      *
                      Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      onlyIfVersionsMatch
                      true
                      Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

                      Depth: 10

                  • org.openrewrite.java.migrate.javax.AddInjectDependencies

                    Name

                    Add explicit Inject dependencies

                    Description

                    Add the necessary `inject-api` dependency from Jakarta EE 8 to maintain compatibility with Java version 11 or greater.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.AddDependency

                      Name

                      Add Gradle or Maven dependency

                      Description

                      For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.inject
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jakarta.inject-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                      version
                      1.0.3
                      An exact version number or node-style semver selector used to select the version number.
                      onlyIfUsing
                      javax.inject.*
                      Used to determine if the dependency will be added and in which scope it should be placed.
                      acceptTransitive
                      true
                      Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.inject
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jakarta.inject-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      1.0.3
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                  • org.openrewrite.java.migrate.javax.AddCommonAnnotationsDependencies

                    Name

                    Add explicit Common Annotations dependencies

                    Description

                    Add the necessary `annotation-api` dependency from Jakarta EE 8 to maintain compatibility with Java version 11 or greater.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      javax.annotation
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      javax.annotation-api
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      jakarta.annotation
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      jakarta.annotation-api
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      1.3.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.AddDependency

                      Name

                      Add Gradle or Maven dependency

                      Description

                      For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.annotation
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jakarta.annotation-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                      version
                      1.3.x
                      An exact version number or node-style semver selector used to select the version number.
                      onlyIfUsing
                      javax.annotation..*
                      Used to determine if the dependency will be added and in which scope it should be placed.
                      acceptTransitive
                      true
                      Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                      Depth: 10

                  • org.openrewrite.staticanalysis.PrimitiveWrapperClassConstructorToValueOf

                    Name

                    Use primitive wrapper `valueOf` method

                    Description

                    The constructor of all primitive types has been deprecated in favor of using the static factory method `valueOf` available for each of the primitive type wrappers.

                    Depth: 9

                  • org.openrewrite.java.migrate.concurrent.JavaConcurrentAPIs

                    Name

                    Use modernized `java.util.concurrent` APIs

                    Description

                    The Java concurrent APIs were updated in Java 9 and those changes resulted in certain APIs being deprecated. This recipe update an application to replace the deprecated APIs with their modern alternatives.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.concurrent.MigrateAtomicBooleanWeakCompareAndSetToWeakCompareAndSetPlain

                      Name

                      Use `AtomicBoolean#weakCompareAndSetPlain(boolean, boolean)`

                      Description

                      Use `AtomicBoolean#weakCompareAndSetPlain(boolean, boolean)` instead of the deprecated `AtomicBoolean#weakCompareAndSet(boolean, boolean)` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.util.concurrent.atomic.AtomicBoolean weakCompareAndSet(boolean, boolean)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        weakCompareAndSetPlain
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.concurrent.MigrateAtomicIntegerWeakCompareAndSetToWeakCompareAndSetPlain

                      Name

                      Use `AtomicInteger#weakCompareAndSetPlain(int, int)`

                      Description

                      Use `AtomicInteger#weakCompareAndSetPlain(int, int)` instead of the deprecated `AtomicInteger#weakCompareAndSet(int, int)` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.util.concurrent.atomic.AtomicInteger weakCompareAndSet(int, int)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        weakCompareAndSetPlain
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.concurrent.MigrateAtomicIntegerArrayWeakCompareAndSetToWeakCompareAndSetPlain

                      Name

                      Use `AtomicIntegerArray#weakCompareAndSetPlain(int, int, int)`

                      Description

                      Use `AtomicIntegerArray#weakCompareAndSetPlain(int, int, int)` instead of the deprecated `AtomicIntegerArray#weakCompareAndSet(int, int, int)` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.util.concurrent.atomic.AtomicIntegerArray weakCompareAndSet(int, int, int)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        weakCompareAndSetPlain
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.concurrent.MigrateAtomicLongWeakCompareAndSetToWeakCompareAndSetPlain

                      Name

                      Use `AtomicLong#weakCompareAndSetPlain(long, long)`

                      Description

                      Use `AtomicLong#weakCompareAndSetPlain(long, long)` instead of the deprecated `AtomicLong#weakCompareAndSet(long, long)` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.util.concurrent.atomic.AtomicLong weakCompareAndSet(long, long)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        weakCompareAndSetPlain
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.concurrent.MigrateAtomicLongArrayWeakCompareAndSetToWeakCompareAndSetPlain

                      Name

                      Use `AtomicLongArray#weakCompareAndSetPlain(int, long, long)`

                      Description

                      Use `AtomicLongArray#weakCompareAndSetPlain(int, long, long)` instead of the deprecated `AtomicLongArray#weakCompareAndSet(int, long, long)` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.util.concurrent.atomic.AtomicLongArray weakCompareAndSet(int, long, long)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        weakCompareAndSetPlain
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.concurrent.MigrateAtomicReferenceWeakCompareAndSetToWeakCompareAndSetPlain

                      Name

                      Use `AtomicReference#weakCompareAndSetPlain(T, T)`

                      Description

                      Use `AtomicReference#weakCompareAndSetPlain(T, T)` instead of the deprecated `AtomicReference#weakCompareAndSet(T, T)` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.util.concurrent.atomic.AtomicReference weakCompareAndSet(..)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        weakCompareAndSetPlain
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.concurrent.MigrateAtomicReferenceArrayWeakCompareAndSetToWeakCompareAndSetPlain

                      Name

                      Use `AtomicReferenceArray#weakCompareAndSetPlain(int, T, T)`

                      Description

                      Use `AtomicReferenceArray#weakCompareAndSetPlain(int, T, T)` instead of the deprecated `AtomicReferenceArray#weakCompareAndSet(int, T, T)` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.util.concurrent.atomic.AtomicReferenceArray weakCompareAndSet(int, ..)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        weakCompareAndSetPlain
                        The method name that will replace the existing name.

                        Depth: 11

                  • org.openrewrite.java.migrate.lang.JavaLangAPIs

                    Name

                    Use modernized `java.lang` APIs

                    Description

                    Certain Java lang APIs have become deprecated and their usages changed, necessitating usage changes.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.lang.MigrateCharacterIsJavaLetterToIsJavaIdentifierStart

                      Name

                      Use `Character#isJavaIdentifierStart(char)`

                      Description

                      Use `Character#isJavaIdentifierStart(char)` instead of the deprecated `Character#isJavaLetter(char)` in Java 1.1 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.lang.Character isJavaLetter(char)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        isJavaIdentifierStart
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.lang.MigrateCharacterIsJavaLetterOrDigitToIsJavaIdentifierPart

                      Name

                      Use `Character#isJavaIdentifierPart(char)`

                      Description

                      Use `Character#isJavaIdentifierPart(char)` instead of the deprecated `Character#isJavaLetterOrDigit(char)` in Java 1.1 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.lang.Character isJavaLetterOrDigit(char)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        isJavaIdentifierPart
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.lang.MigrateCharacterIsSpaceToIsWhitespace

                      Name

                      Use `Character#isWhitespace(char)`

                      Description

                      Use `Character#isWhitespace(char)` instead of the deprecated `Character#isSpace(char)` in Java 1.1 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.lang.Character isSpace(char)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        isWhitespace
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.lang.MigrateRuntimeVersionMajorToFeature

                      Name

                      Use `Runtime.Version#feature()`

                      Description

                      Use `Runtime.Version#feature()` instead of the deprecated `Runtime.Version#major()` in Java 10 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.lang.Runtime.Version major()
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        feature
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.lang.MigrateRuntimeVersionMinorToInterim

                      Name

                      Use `Runtime.Version#interim()`

                      Description

                      Use `Runtime.Version#interim()` instead of the deprecated `Runtime.Version#minor()` in Java 10 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.lang.Runtime.Version minor()
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        interim
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.lang.MigrateRuntimeVersionSecurityToUpdate

                      Name

                      Use `Runtime.Version#update()`

                      Description

                      Use `Runtime.Version#update()` instead of the deprecated `Runtime.Version#security()` in Java 10 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.lang.Runtime.Version security()
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        update
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.lang.MigrateSecurityManagerMulticast

                      Name

                      Use `SecurityManager#checkMulticast(InetAddress)`

                      Description

                      Use `SecurityManager#checkMulticast(InetAddress)` instead of the deprecated `SecurityManager#checkMulticast(InetAddress, byte)` in Java 1.4 or higher.

                      Depth: 10

                    • org.openrewrite.java.migrate.lang.MigrateClassLoaderDefineClass

                      Name

                      Use `ClassLoader#defineClass(String, byte[], int, int)`

                      Description

                      Use `ClassLoader#defineClass(String, byte[], int, int)` instead of the deprecated `ClassLoader#defineClass(byte[], int, int)` in Java 1.1 or higher.

                      Depth: 10

                    • org.openrewrite.java.migrate.lang.MigrateClassNewInstanceToGetDeclaredConstructorNewInstance

                      Name

                      Use `Class#getDeclaredConstructor().newInstance()`

                      Description

                      Use `Class#getDeclaredConstructor().newInstance()` instead of the deprecated `Class#newInstance()` in Java 9 or higher.

                      Depth: 10

                  • org.openrewrite.java.RemoveMethodInvocations

                    Name

                    Remove method invocations

                    Description

                    Remove method invocations if syntactically safe.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.lang.Runtime runFinalizersOnExit(boolean)
                    A pattern to match method invocations for removal.

                    Depth: 9

                  • org.openrewrite.java.RemoveMethodInvocations

                    Name

                    Remove method invocations

                    Description

                    Remove method invocations if syntactically safe.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.lang.System runFinalizersOnExit(boolean)
                    A pattern to match method invocations for removal.

                    Depth: 9

                  • org.openrewrite.java.migrate.logging.JavaLoggingAPIs

                    Name

                    Use modernized `java.util.logging` APIs

                    Description

                    Certain Java logging APIs have become deprecated and their usages changed, necessitating usage changes.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.logging.MigrateGetLoggingMXBeanToGetPlatformMXBean

                      Name

                      Use `ManagementFactory#getPlatformMXBean(PlatformLoggingMXBean.class)`

                      Description

                      Use `ManagementFactory#getPlatformMXBean(PlatformLoggingMXBean.class)` instead of the deprecated `LogManager#getLoggingMXBean()` in Java 9 or higher.

                      Depth: 10

                    • org.openrewrite.java.migrate.logging.MigrateLoggerGlobalToGetGlobal

                      Name

                      Use `Logger#getGlobal()`

                      Description

                      The preferred way to get the global logger object is via the call `Logger#getGlobal()` over direct field access to `java.util.logging.Logger.global`.

                      Depth: 10

                    • org.openrewrite.java.migrate.logging.MigrateLoggerLogrbToUseResourceBundle

                      Name

                      Use `Logger#logrb(.., ResourceBundle bundleName, ..)`

                      Description

                      Use `Logger#logrb(.., ResourceBundle bundleName, ..)` instead of the deprecated `java.util.logging.Logger#logrb(.., String bundleName, ..)` in Java 8 or higher.

                      Depth: 10

                    • org.openrewrite.java.migrate.logging.MigrateLogRecordSetMillisToSetInstant

                      Name

                      Use `LogRecord#setInstant(Instant)`

                      Description

                      Use `LogRecord#setInstant(Instant)` instead of the deprecated `LogRecord#setMillis(long)` in Java 9 or higher.

                      Depth: 10

                    • org.openrewrite.java.migrate.logging.MigrateInterfaceLoggingMXBeanToPlatformLoggingMXBean

                      Name

                      Use `java.lang.management.PlatformLoggingMXBean`

                      Description

                      Use `java.lang.management.PlatformLoggingMXBean` instead of the deprecated `java.util.logging.LoggingMXBean` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        java.util.logging.LoggingMXBean
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        java.lang.management.PlatformLoggingMXBean
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                  • org.openrewrite.java.migrate.lombok.UpdateLombokToJava11

                    Name

                    Migrate Lombok to a Java 11 compatible version

                    Description

                    Update Lombok dependency to a version that is compatible with Java 11 and migrate experimental Lombok types that have been promoted.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.projectlombok
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      lombok
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      1.18.*
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      lombok.experimental.Builder
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      lombok.Builder
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      lombok.experimental.Value
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      lombok.Value
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      lombok.experimental.Wither
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      lombok.With
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      lombok.experimental.var
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      lombok.var
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      lombok.experimental.val
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      lombok.val
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.migrate.lombok.LombokValToFinalVar

                      Name

                      Prefer `final var` over `lombok.val`

                      Description

                      Prefer the Java standard library's `final var` and `var` over third-party usage of Lombok's `lombok.val` and `lombok.var` in Java 10 or higher.

                      Depth: 10

                  • org.openrewrite.java.migrate.net.JavaNetAPIs

                    Name

                    Use modernized `java.net` APIs

                    Description

                    Certain Java networking APIs have become deprecated and their usages changed, necessitating usage changes.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.net.MigrateMulticastSocketSetTTLToSetTimeToLive

                      Name

                      Use `java.net.MulticastSocket#setTimeToLive(int)`

                      Description

                      Use `java.net.MulticastSocket#setTimeToLive(int)` instead of the deprecated `java.net.MulticastSocket#setTTL(byte)` in Java 1.2 or higher.

                      Depth: 10

                    • org.openrewrite.java.migrate.net.MigrateMulticastSocketGetTTLToGetTimeToLive

                      Name

                      Use `java.net.MulticastSocket#getTimeToLive()`

                      Description

                      Use `java.net.MulticastSocket#getTimeToLive()` instead of the deprecated `java.net.MulticastSocket#getTTL()` in Java 1.2 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        java.net.MulticastSocket getTTL()
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        getTimeToLive
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.net.MigrateHttpURLConnectionHttpServerErrorToHttpInternalError

                      Name

                      Use `java.net.HttpURLConnection.HTTP_INTERNAL_ERROR`

                      Description

                      Use `java.net.HttpURLConnection.HTTP_INTERNAL_ERROR` instead of the deprecated `java.net.HttpURLConnection.HTTP_SERVER_ERROR`.

                      Depth: 10

                    • org.openrewrite.java.migrate.net.MigrateURLDecoderDecode

                      Name

                      Use `java.net.URLDecoder#decode(String, StandardCharsets.UTF_8)`

                      Description

                      Use `java.net.URLDecoder#decode(String, StandardCharsets.UTF_8)` instead of the deprecated `java.net.URLDecoder#decode(String)` in Java 10 or higher.

                      Depth: 10

                    • org.openrewrite.java.migrate.net.MigrateURLEncoderEncode

                      Name

                      Use `java.net.URLEncoder#encode(String, StandardCharsets.UTF_8)`

                      Description

                      Use `java.net.URLEncoder#encode(String, StandardCharsets.UTF_8)` instead of the deprecated `java.net.URLEncoder#encode(String)` in Java 10 or higher.

                      Depth: 10

                  • org.openrewrite.java.migrate.nio.file.PathsGetToPathOf

                    Name

                    Replace `Paths.get` with `Path.of`

                    Description

                    The `java.nio.file.Paths.get` method was introduced in Java SE 7. The `java.nio.file.Path.of` method was introduced in Java SE 11. This recipe replaces all usages of `Paths.get` with `Path.of` for consistency.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangeMethodTargetToStatic

                      Name

                      Change method target to static

                      Description

                      Change method invocations to static method calls.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      java.nio.file.Paths get(..)
                      A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                      fullyQualifiedTargetTypeName
                      java.nio.file.Path
                      A fully-qualified class name of the type upon which the static method is defined.

                      Depth: 10

                    • org.openrewrite.java.ChangeMethodName

                      Name

                      Change method name

                      Description

                      Rename a method.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      java.nio.file.Path get(..)
                      A method pattern that is used to find matching method declarations/invocations.
                      newMethodName
                      of
                      The method name that will replace the existing name.

                      Depth: 10

                  • org.openrewrite.java.migrate.sql.JavaSqlAPIs

                    Name

                    Use modernized `java.sql` APIs

                    Description

                    Certain Java sql APIs have become deprecated and their usages changed, necessitating usage changes.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.sql.MigrateDriverManagerSetLogStream

                      Name

                      Use `DriverManager#setLogWriter(java.io.PrintWriter)`

                      Description

                      Use `DriverManager#setLogWriter(java.io.PrintWriter)` instead of the deprecated `DriverManager#setLogStream(java.io.PrintStream)` in Java 1.2 or higher.

                      Depth: 10

                  • org.openrewrite.java.migrate.javax.JavaxLangModelUtil

                    Name

                    Use modernized `javax.lang.model.util` APIs

                    Description

                    Certain `javax.lang.model.util` APIs have become deprecated and their usages changed, necessitating usage changes.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.javax.MigrateAbstractAnnotationValueVisitor6To9

                      Name

                      Use `javax.lang.model.util.AbstractAnnotationValueVisitor9`

                      Description

                      Use `javax.lang.model.util.AbstractAnnotationValueVisitor9` instead of the deprecated `javax.lang.model.util.AbstractAnnotationValueVisitor6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.AbstractAnnotationValueVisitor6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.AbstractAnnotationValueVisitor9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateAbstractElementVisitor6To9

                      Name

                      Use `javax.lang.model.util.AbstractElementVisitor9`

                      Description

                      Use `javax.lang.model.util.AbstractElementVisitor9` instead of the deprecated `javax.lang.model.util.AbstractElementVisitor6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.AbstractElementVisitor6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.AbstractElementVisitor9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateAbstractTypeVisitor6To9

                      Name

                      Use `javax.lang.model.util.AbstractTypeVisitor9`

                      Description

                      Use `javax.lang.model.util.AbstractTypeVisitor9` instead of the deprecated `javax.lang.model.util.AbstractTypeVisitor6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.AbstractTypeVisitor6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.AbstractTypeVisitor9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateElementKindVisitor6To9

                      Name

                      Use `javax.lang.model.util.ElementKindVisitor9`

                      Description

                      Use `javax.lang.model.util.ElementKindVisitor9` instead of the deprecated `javax.lang.model.util.ElementKindVisitor6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.ElementKindVisitor6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.ElementKindVisitor9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateElementScanner6To9

                      Name

                      Use `javax.lang.model.util.ElementScanner9`

                      Description

                      Use `javax.lang.model.util.ElementScanner9` instead of the deprecated `javax.lang.model.util.ElementScanner6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.ElementScanner6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.ElementScanner9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateSimpleAnnotationValueVisitor6To9

                      Name

                      Use `javax.lang.model.util.SimpleAnnotationValueVisitor9`

                      Description

                      Use `javax.lang.model.util.SimpleAnnotationValueVisitor9` instead of the deprecated `javax.lang.model.util.SimpleAnnotationValueVisitor6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.SimpleAnnotationValueVisitor6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.SimpleAnnotationValueVisitor9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateSimpleElementVisitor6To9

                      Name

                      Use `javax.lang.model.util.SimpleElementVisitor9`

                      Description

                      Use `javax.lang.model.util.SimpleElementVisitor9` instead of the deprecated `javax.lang.model.util.SimpleElementVisitor6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.SimpleElementVisitor6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.SimpleElementVisitor9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateSimpleTypeVisitor6To9

                      Name

                      Use `javax.lang.model.util.SimpleTypeVisitor9`

                      Description

                      Use `javax.lang.model.util.SimpleTypeVisitor9` instead of the deprecated `javax.lang.model.util.SimpleTypeVisitor6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.SimpleTypeVisitor6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.SimpleTypeVisitor9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateTypeKindVisitor6To9

                      Name

                      Use `javax.lang.model.util.TypeKindVisitor9`

                      Description

                      Use `javax.lang.model.util.TypeKindVisitor9` instead of the deprecated `javax.lang.model.util.TypeKindVisitor6` in Java 9 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        javax.lang.model.util.TypeKindVisitor6
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        javax.lang.model.util.TypeKindVisitor9
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                  • org.openrewrite.java.migrate.javax.JavaxManagementMonitorAPIs

                    Name

                    Use modernized `javax.management.monitor` APIs

                    Description

                    Certain `javax.management.monitor` APIs have become deprecated and their usages changed, necessitating usage changes.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.javax.MigrateCounterMonitorSetThresholdToSetInitThreshold

                      Name

                      Use `javax.management.monitor.CounterMonitor#setInitThreshold`

                      Description

                      Use `javax.management.monitor.CounterMonitor#setInitThreshold` instead of the deprecated `javax.management.monitor.CounterMonitor#setThreshold` in JMX 1.2 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        javax.management.monitor.CounterMonitor setThreshold(java.lang.Number)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        setInitThreshold
                        The method name that will replace the existing name.

                        Depth: 11

                  • org.openrewrite.java.migrate.javax.JavaxXmlStreamAPIs

                    Name

                    Use modernized `javax.xml.stream` APIs

                    Description

                    Certain `javax.xml.stream` APIs have become deprecated and their usages changed, necessitating usage changes.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.javax.MigrateXMLEventFactoryNewInstanceToNewFactory

                      Name

                      Use `javax.xml.stream.XMLEventFactory#newFactory(String, ClassLoader)`

                      Description

                      Use `javax.xml.stream.XMLEventFactory#newFactory` instead of the deprecated `javax.xml.stream.XMLEventFactory#newInstance` in Java 7 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        javax.xml.stream.XMLEventFactory newInstance(String, java.lang.ClassLoader)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        newFactory
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateXMLInputFactoryNewInstanceToNewFactory

                      Name

                      Use `javax.xml.stream.XMLInputFactory#newFactory(String, ClassLoader)`

                      Description

                      Use `javax.xml.stream.XMLInputFactory#newFactory` instead of the deprecated `javax.xml.stream.XMLInputFactory#newInstance` in Java 7 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        javax.xml.stream.XMLInputFactory newInstance(String, java.lang.ClassLoader)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        newFactory
                        The method name that will replace the existing name.

                        Depth: 11

                    • org.openrewrite.java.migrate.javax.MigrateXMLOutputFactoryNewInstanceToNewFactory

                      Name

                      Use `javax.xml.stream.XMLOutputFactory#newFactory(String, ClassLoader)`

                      Description

                      Use `javax.xml.stream.XMLOutputFactory#newFactory` instead of the deprecated `javax.xml.stream.XMLOutputFactory#newInstance` in Java 7 or higher.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ChangeMethodName

                        Name

                        Change method name

                        Description

                        Rename a method.

                        Used Parameters

                        Name Value Description
                        methodPattern
                        javax.xml.stream.XMLOutputFactory newInstance(String, java.lang.ClassLoader)
                        A method pattern that is used to find matching method declarations/invocations.
                        newMethodName
                        newFactory
                        The method name that will replace the existing name.

                        Depth: 11

                  • org.openrewrite.java.migrate.cobertura.RemoveCoberturaMavenPlugin

                    Name

                    Remove Cobertura Maven plugin

                    Description

                    This recipe will remove Cobertura, as it is not compatible with Java 11.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.maven.RemovePlugin

                      Name

                      Remove Maven plugin

                      Description

                      Remove the specified Maven plugin from the POM.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.codehaus.mojo
                      The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.
                      artifactId
                      cobertura-maven-plugin
                      The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.

                      Depth: 10

                  • org.openrewrite.java.migrate.UpgradeBuildToJava11

                    Name

                    Upgrade build to Java 11

                    Description

                    Updates build files to use Java 11 as the target/source.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.UpgradeJavaVersion

                      Name

                      Upgrade Java version

                      Description

                      Upgrade build plugin configuration to use the specified Java version. This recipe changes `java.toolchain.languageVersion` in `build.gradle(.kts)` of gradle projects, or maven-compiler-plugin target version and related settings. Will not downgrade if the version is newer than the specified version.

                      Used Parameters

                      Name Value Description
                      version
                      11
                      The Java version to upgrade to.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.migrate.maven.UseMavenCompilerPluginReleaseConfiguration

                        Name

                        Use Maven compiler plugin release configuration

                        Description

                        Replaces any explicit `source` or `target` configuration (if present) on the `maven-compiler-plugin` with `release`, and updates the `release` value if needed. Will not downgrade the Java version if the current version is higher.

                        Used Parameters

                        Name Value Description
                        releaseVersion
                        11
                        The new value for the release configuration. This recipe prefers ${java.version} if defined.

                        Depth: 11

                      • org.openrewrite.java.migrate.maven.UpdateMavenProjectPropertyJavaVersion

                        Name

                        Update Maven Java project properties

                        Description

                        The Java version is determined by several project properties, including: * `java.version` * `jdk.version` * `javaVersion` * `jdkVersion` * `maven.compiler.source` * `maven.compiler.target` * `maven.compiler.release` * `release.version` If none of these properties are in use and the maven compiler plugin is not otherwise configured, adds the `maven.compiler.release` property.

                        Used Parameters

                        Name Value Description
                        version
                        11
                        The Java version to upgrade to.

                        Depth: 11

                      • org.openrewrite.jenkins.UpgradeJavaVersion

                        Name

                        Upgrade jenkins java version

                        Description

                        Upgrades the version of java specified in Jenkins groovy scripts. Will not downgrade if the version is newer than the specified version.

                        Used Parameters

                        Name Value Description
                        version
                        11
                        The Java version to upgrade to.

                        Depth: 11

                      • org.openrewrite.gradle.UpdateJavaCompatibility

                        Name

                        Update Gradle project Java compatibility

                        Description

                        Find and updates the Java compatibility for the Gradle project.

                        Used Parameters

                        Name Value Description
                        version
                        11
                        The Java version to upgrade to.
                        allowDowngrade
                        false
                        Allow downgrading the Java version.

                        Depth: 11

                  • org.openrewrite.java.migrate.InternalBindPackages

                    Name

                    Use `com.sun.xml.bind.*` instead of `com.sun.xml.internal.bind.*`

                    Description

                    Do not use APIs from `com.sun.xml.internal.bind.*` packages.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      com.sun.xml.internal.bind
                      The package name to replace.
                      newPackageName
                      com.sun.xml.bind
                      New package name to replace the old package name with.
                      recursive
                      true
                      Recursively change subpackage names

                      Depth: 10

                  • org.openrewrite.java.migrate.RemovedSecurityManagerMethods

                    Name

                    Replace deprecated methods in`SecurityManager`

                    Description

                    Replace `SecurityManager` methods `checkAwtEventQueueAccess()`, `checkSystemClipboardAccess()`, `checkMemberAccess()` and `checkTopLevelWindow()` deprecated in Java SE 11 by `checkPermission(new java.security.AllPermission())`.

                    Depth: 9

                  • org.openrewrite.java.migrate.UpgradePluginsForJava11

                    Name

                    Upgrade plugins to Java 11 compatible versions

                    Description

                    Updates plugins to version compatible with Java 11.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.maven.UpgradePluginVersion

                      Name

                      Upgrade Maven plugin version

                      Description

                      Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.apache.maven.plugins
                      The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                      artifactId
                      maven-compiler-plugin
                      The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                      newVersion
                      3.6.2
                      An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                      Depth: 10

                    • org.openrewrite.github.SetupJavaUpgradeJavaVersion

                      Name

                      Upgrade `actions/setup-java` `java-version`

                      Description

                      Update the Java version used by `actions/setup-java` if it is below the expected version number.

                      Used Parameters

                      Name Value Description
                      minimumJavaMajorVersion
                      11

                      Depth: 10

                    • org.openrewrite.maven.UpgradePluginVersion

                      Name

                      Upgrade Maven plugin version

                      Description

                      Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      ro.isdc.wro4j
                      The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                      artifactId
                      wro4j-maven-plugin
                      The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                      newVersion
                      1.10.1
                      An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                      Depth: 10

                  • org.openrewrite.java.migrate.RemovedPolicy

                    Name

                    Replace `javax.security.auth.Policy` with `java.security.Policy`

                    Description

                    The `javax.security.auth.Policy` class is not available from Java SE 11 onwards.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      javax.security.auth.Policy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      java.security.Policy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.
                      ignoreDefinition
                      true
                      When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                      Depth: 10

                  • org.openrewrite.java.migrate.ReferenceCloneMethod

                    Name

                    Replace `java.lang.ref.Reference.clone()` with constructor call

                    Description

                    The recipe replaces any clone calls that may resolve to a `java.lang.ref.Reference.clone()` or any of its known subclasses: `java.lang.ref.PhantomReference`, `java.lang.ref.SoftReference`, and `java.lang.ref.WeakReference` with a constructor call passing in the referent and reference queue as parameters.

                    Depth: 9

                  • org.openrewrite.java.migrate.ThreadStopDestroy

                    Name

                    Remove `Thread.destroy()` and `Thread.stop(Throwable)`

                    Description

                    The `java.lang.Thread.destroy()` method was never implemented, and the `java.lang.Thread.stop(java.lang.Throwable)` method has been unusable since Java SE 8. This recipe removes any usage of these methods from your application.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.RemoveMethodInvocations

                      Name

                      Remove method invocations

                      Description

                      Remove method invocations if syntactically safe.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      java.lang.Thread destroy()
                      A pattern to match method invocations for removal.

                      Depth: 10

                    • org.openrewrite.java.RemoveMethodInvocations

                      Name

                      Remove method invocations

                      Description

                      Remove method invocations if syntactically safe.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      java.lang.Thread stop(java.lang.Throwable)
                      A pattern to match method invocations for removal.

                      Depth: 10

                  • org.openrewrite.java.migrate.ReplaceAWTGetPeerMethod

                    Name

                    Replace AWT `getPeer()` method

                    Description

                    This recipe replaces the use of `getPeer()` method in `java.awt.*` classes. `component.getPeer() != null` is replaced with `component.isDisplayable()` and `component.getPeer() instanceof LightweightPeer` is replaced with `component.isLightweight()`.

                    Used Parameters

                    Name Value Description
                    getPeerMethodPattern
                    java.awt.* getPeer()
                    The method pattern to match and replace.
                    lightweightPeerFQCN
                    java.awt.peer.LightweightPeer
                    The fully qualified class name of the LightweightPeer interface to replace in `instanceof`.

                    Depth: 9

                  • org.openrewrite.scala.migrate.UpgradeScala_2_12

                    Name

                    Migrate to Scala 2.12.+

                    Description

                    Upgrade the Scala version for compatibility with newer Java versions.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.scala-lang
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      scala-*
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      2.12.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                  • org.openrewrite.java.migrate.ReplaceComSunAWTUtilitiesMethods

                    Name

                    Replace `com.sun.awt.AWTUtilities` static method invocations

                    Description

                    This recipe replaces several static calls in `com.sun.awt.AWTUtilities` with the JavaSE 11 equivalent. The methods replaced are `AWTUtilities.isTranslucencySupported()`, `AWTUtilities.setWindowOpacity()`, `AWTUtilities.getWindowOpacity()`, `AWTUtilities.getWindowShape()`, `AWTUtilities.isWindowOpaque()`, `AWTUtilities.isTranslucencyCapable()` and `AWTUtilities.setComponentMixingCutoutShape()`.

                    Used Parameters

                    Name Value Description
                    getAWTIsWindowsTranslucencyPattern
                    com.sun.awt.AWTUtilities isTranslucencySupported(com.sun.awt.AWTUtilities.Translucency)
                    The method pattern to match and replace.
                    isWindowOpaquePattern
                    com.sun.awt.AWTUtilities isWindowOpaque(java.awt.Window)
                    The method pattern to match and replace.
                    isTranslucencyCapablePattern
                    com.sun.awt.AWTUtilities isTranslucencyCapable(java.awt.GraphicsConfiguration)
                    The method pattern to match and replace.
                    setWindowOpacityPattern
                    com.sun.awt.AWTUtilities setWindowOpacity(java.awt.Window, float)
                    The method pattern to match and replace.
                    getWindowOpacityPattern
                    com.sun.awt.AWTUtilities getWindowOpacity(java.awt.Window)
                    The method pattern to match and replace.
                    getWindowShapePattern
                    com.sun.awt.AWTUtilities getWindowShape(java.awt.Window)
                    The method pattern to match and replace.
                    setComponentMixingCutoutShapePattern
                    com.sun.awt.AWTUtilities setComponentMixingCutoutShape(java.awt.Component,java.awt.Shape)
                    The method pattern to match and replace.

                    Depth: 9

                  • org.openrewrite.java.migrate.ReplaceLocalizedStreamMethods

                    Name

                    Replace `getLocalizedInputStream` and `getLocalizedOutputStream` with direct assignment

                    Description

                    Replaces `Runtime.getLocalizedInputStream(InputStream)` and `Runtime.getLocalizedOutputStream(OutputStream)` with their direct arguments. This modification is made because the previous implementation of `getLocalizedInputStream` and `getLocalizedOutputStream` merely returned the arguments provided.

                    Used Parameters

                    Name Value Description
                    localizedInputStreamMethodMatcher
                    java.lang.Runtime getLocalizedInputStream(java.io.InputStream)
                    The method pattern to match and replace.
                    localizedOutputStreamMethodMatcher
                    java.lang.Runtime getLocalizedOutputStream(java.io.OutputStream)
                    The method pattern to match and replace.

                    Depth: 9

                  • org.openrewrite.java.migrate.ArrayStoreExceptionToTypeNotPresentException

                    Name

                    Catch `TypeNotPresentException` thrown by `Class.getAnnotation()`

                    Description

                    Replace catch blocks for `ArrayStoreException` around `Class.getAnnotation()` with `TypeNotPresentException` to ensure compatibility with Java 11+.

                    Depth: 9

                • org.openrewrite.java.migrate.UpgradeBuildToJava17

                  Name

                  Upgrade build to Java 17

                  Description

                  Updates build files to use Java 17 as the target/source.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.migrate.UpgradeJavaVersion

                    Name

                    Upgrade Java version

                    Description

                    Upgrade build plugin configuration to use the specified Java version. This recipe changes `java.toolchain.languageVersion` in `build.gradle(.kts)` of gradle projects, or maven-compiler-plugin target version and related settings. Will not downgrade if the version is newer than the specified version.

                    Used Parameters

                    Name Value Description
                    version
                    17
                    The Java version to upgrade to.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.maven.UseMavenCompilerPluginReleaseConfiguration

                      Name

                      Use Maven compiler plugin release configuration

                      Description

                      Replaces any explicit `source` or `target` configuration (if present) on the `maven-compiler-plugin` with `release`, and updates the `release` value if needed. Will not downgrade the Java version if the current version is higher.

                      Used Parameters

                      Name Value Description
                      releaseVersion
                      17
                      The new value for the release configuration. This recipe prefers ${java.version} if defined.

                      Depth: 10

                    • org.openrewrite.java.migrate.maven.UpdateMavenProjectPropertyJavaVersion

                      Name

                      Update Maven Java project properties

                      Description

                      The Java version is determined by several project properties, including: * `java.version` * `jdk.version` * `javaVersion` * `jdkVersion` * `maven.compiler.source` * `maven.compiler.target` * `maven.compiler.release` * `release.version` If none of these properties are in use and the maven compiler plugin is not otherwise configured, adds the `maven.compiler.release` property.

                      Used Parameters

                      Name Value Description
                      version
                      17
                      The Java version to upgrade to.

                      Depth: 10

                    • org.openrewrite.jenkins.UpgradeJavaVersion

                      Name

                      Upgrade jenkins java version

                      Description

                      Upgrades the version of java specified in Jenkins groovy scripts. Will not downgrade if the version is newer than the specified version.

                      Used Parameters

                      Name Value Description
                      version
                      17
                      The Java version to upgrade to.

                      Depth: 10

                    • org.openrewrite.gradle.UpdateJavaCompatibility

                      Name

                      Update Gradle project Java compatibility

                      Description

                      Find and updates the Java compatibility for the Gradle project.

                      Used Parameters

                      Name Value Description
                      version
                      17
                      The Java version to upgrade to.
                      allowDowngrade
                      false
                      Allow downgrading the Java version.

                      Depth: 10

                • org.openrewrite.staticanalysis.AddSerialAnnotationToSerialVersionUID

                  Name

                  Add `@Serial` annotation to `serialVersionUID`

                  Description

                  Annotation any `serialVersionUID` fields with `@Serial` to indicate it's part of the serialization mechanism.

                  Depth: 8

                • org.openrewrite.java.migrate.RemovedRuntimeTraceMethods

                  Name

                  Remove `Runtime.traceInstructions(boolean)` and `Runtime.traceMethodCalls` methods

                  Description

                  The `traceInstructions` and `traceMethodCalls` methods in `java.lang.Runtime` were deprecated in Java SE 9 and are no longer available in Java SE 13 and later. The recipe removes the invocations of these methods since the method invocations do nothing functionally.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.RemoveMethodInvocations

                    Name

                    Remove method invocations

                    Description

                    Remove method invocations if syntactically safe.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.lang.Runtime traceInstructions(boolean)
                    A pattern to match method invocations for removal.

                    Depth: 9

                  • org.openrewrite.java.RemoveMethodInvocations

                    Name

                    Remove method invocations

                    Description

                    Remove method invocations if syntactically safe.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.lang.Runtime traceMethodCalls(boolean)
                    A pattern to match method invocations for removal.

                    Depth: 9

                • org.openrewrite.java.migrate.RemovedToolProviderConstructor

                  Name

                  Change `javax.tools.ToolProvider` methods calls to static

                  Description

                  The `javax.tools.ToolProvider()` constructor has been removed in Java SE 16 since the class only contains static methods. The recipe converts `javax.tools.ToolProvider getSystemJavaCompiler()`, `javax.tools.ToolProvider getSystemDocumentationTool()` and `javax.tools.ToolProvider getSystemToolClassLoader()` to static methods.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodTargetToStatic

                    Name

                    Change method target to static

                    Description

                    Change method invocations to static method calls.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    javax.tools.ToolProvider *()
                    A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                    fullyQualifiedTargetTypeName
                    javax.tools.ToolProvider
                    A fully-qualified class name of the type upon which the static method is defined.

                    Depth: 9

                • org.openrewrite.java.migrate.RemovedModifierAndConstantBootstrapsConstructors

                  Name

                  Change `java.lang.reflect.Modifier` and ` java.lang.invoke.ConstantBootstraps` method calls to static

                  Description

                  The `java.lang.reflect.Modifier()` and `java.lang.invoke.ConstantBootstraps()` constructors have been removed in Java SE 15 because both classes only contain static methods. This recipe converts the usage of all methods in the two classes to be static. See https://docs.oracle.com/en/java/javase/15/migrate/index.html#GUID-233853B8-0782-429E-BEF7-7532EE610E63 for more information on these changes.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodTargetToStatic

                    Name

                    Change method target to static

                    Description

                    Change method invocations to static method calls.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.lang.reflect.Modifier *(..)
                    A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                    fullyQualifiedTargetTypeName
                    java.lang.reflect.Modifier
                    A fully-qualified class name of the type upon which the static method is defined.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodTargetToStatic

                    Name

                    Change method target to static

                    Description

                    Change method invocations to static method calls.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.lang.invoke.ConstantBootstraps *(..)
                    A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                    fullyQualifiedTargetTypeName
                    java.lang.invoke.ConstantBootstraps
                    A fully-qualified class name of the type upon which the static method is defined.

                    Depth: 9

                • org.openrewrite.java.migrate.DeprecatedJavaxSecurityCert

                  Name

                  Use `java.security.cert` instead of `javax.security.cert`

                  Description

                  The `javax.security.cert` package has been deprecated for removal.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.security.cert
                    The package name to replace.
                    newPackageName
                    java.security.cert
                    New package name to replace the old package name with.

                    Depth: 9

                • org.openrewrite.java.migrate.DeprecatedLogRecordThreadID

                  Name

                  Adopt `setLongThreadID` in `java.util.logging.LogRecord`

                  Description

                  Avoid using the deprecated methods in `java.util.logging.LogRecord`.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.util.logging.LogRecord getThreadID()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    getLongThreadID
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.migrate.ChangeMethodInvocationReturnType

                    Name

                    Change method invocation return type

                    Description

                    Changes the return type of a method invocation.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.util.logging.LogRecord getLongThreadID()
                    A method pattern that is used to find matching method declarations/invocations.
                    newReturnType
                    long
                    The fully qualified new return type of method invocation.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.util.logging.LogRecord setThreadID(int)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    setLongThreadID
                    The method name that will replace the existing name.

                    Depth: 9

                • org.openrewrite.java.migrate.RemovedLegacySunJSSEProviderName

                  Name

                  Use `SunJSSE` instead of `com.sun.net.ssl.internal.ssl.Provider`

                  Description

                  The `com.sun.net.ssl.internal.ssl.Provider` provider name was removed.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.migrate.ReplaceStringLiteralValue

                    Name

                    Replace `String` literal

                    Description

                    Replace the value of a complete `String` literal.

                    Used Parameters

                    Name Value Description
                    oldLiteralValue
                    com.sun.net.ssl.internal.ssl.Provider
                    The `String` value to replace.
                    newLiteralValue
                    SunJSSE
                    The `String` value to replace with.

                    Depth: 9

                • org.openrewrite.java.migrate.Jre17AgentMainPreMainPublic

                  Name

                  Set visibility of `premain` and `agentmain` methods to `public`

                  Description

                  Check for a behavior change in Java agents.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodAccessLevel

                    Name

                    Change method access level

                    Description

                    Change the access level (public, protected, private, package private) of a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    *..* agentmain(java.lang.String)
                    A method pattern that is used to find matching method declarations/invocations.
                    newAccessLevel
                    public
                    New method access level to apply to the method.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodAccessLevel

                    Name

                    Change method access level

                    Description

                    Change the access level (public, protected, private, package private) of a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    *..* agentmain(java.lang.String, java.lang.instrument.Instrumentation)
                    A method pattern that is used to find matching method declarations/invocations.
                    newAccessLevel
                    public
                    New method access level to apply to the method.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodAccessLevel

                    Name

                    Change method access level

                    Description

                    Change the access level (public, protected, private, package private) of a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    *..* premain(java.lang.String)
                    A method pattern that is used to find matching method declarations/invocations.
                    newAccessLevel
                    public
                    New method access level to apply to the method.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodAccessLevel

                    Name

                    Change method access level

                    Description

                    Change the access level (public, protected, private, package private) of a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    *..* premain(java.lang.String, java.lang.instrument.Instrumentation)
                    A method pattern that is used to find matching method declarations/invocations.
                    newAccessLevel
                    public
                    New method access level to apply to the method.

                    Depth: 9

                • org.openrewrite.java.migrate.DeprecatedCountStackFramesMethod

                  Name

                  Remove `Thread.countStackFrames()` method

                  Description

                  `Thread.countStackFrames()` has been removed in Java SE 14 and has been changed in this release to unconditionally throw `UnsupportedOperationException` This recipe removes the usage of this method in your application as long as the method is not assigned to a variable. For more information on the Java SE 14 deprecation of this method, see https://bugs.java.com/bugdatabase/view_bug?bug_id=8205132.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.RemoveMethodInvocations

                    Name

                    Remove method invocations

                    Description

                    Remove method invocations if syntactically safe.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.lang.Thread countStackFrames()
                    A pattern to match method invocations for removal.

                    Depth: 9

                • org.openrewrite.java.migrate.RemovedZipFinalizeMethods

                  Name

                  Replace `finalize` method in `java.util.zip.ZipFile`, `java.util.zip.Inflater` and `java.util.zip.Deflater`

                  Description

                  The `finalize` method in `java.util.zip.ZipFile` is replaced with the `close` method and is replaced by the `end` method in `java.util.zip.Inflater` and `java.util.zip.Deflater` as it is no longer available in Java SE 12 and later.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.util.zip.Inflater finalize()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    end
                    The method name that will replace the existing name.
                    ignoreDefinition
                    true
                    When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.util.zip.Deflater finalize()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    end
                    The method name that will replace the existing name.
                    ignoreDefinition
                    true
                    When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.util.zip.ZipFile finalize()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    close
                    The method name that will replace the existing name.
                    ignoreDefinition
                    true
                    When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                    Depth: 9

                • org.openrewrite.java.migrate.RemovedSSLSessionGetPeerCertificateChainMethodImpl

                  Name

                  Replace `SSLSession.getPeerCertificateChain()` method

                  Description

                  The `javax.net.ssl.SSLSession.getPeerCertificateChain()` method implementation was removed from the SunJSSE provider and HTTP client implementation in Java SE 15. The default implementation will now throw an `UnsupportedOperationException`. Applications using this method should be updated to use the `javax.net.ssl.SSLSession.getPeerCertificates()` method instead.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    javax.net.ssl.SSLSession getPeerCertificateChain()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    getPeerCertificates
                    The method name that will replace the existing name.
                    ignoreDefinition
                    true
                    When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                    Depth: 9

                • org.openrewrite.java.migrate.SunNetSslPackageUnavailable

                  Name

                  Replace `com.sun.net.ssl` package

                  Description

                  The internal API `com.sun.net.ssl` is removed. The package was intended for internal use only and replacement APIs can be found in the `javax.net.ssl` package.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    com.sun.net.ssl
                    The package name to replace.
                    newPackageName
                    javax.net.ssl
                    New package name to replace the old package name with.

                    Depth: 9

                • org.openrewrite.java.migrate.RemovedRMIConnectorServerCredentialTypesConstant

                  Name

                  Replace `RMIConnectorServer.CREDENTIAL_TYPES` constant

                  Description

                  This recipe replaces the `RMIConnectorServer.CREDENTIAL_TYPES` constant with the `RMIConnectorServer.CREDENTIALS_FILTER_PATTERN` constant.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                    Name

                    Replace constant with another constant

                    Description

                    Replace a constant with another constant, adding/removing import on class if needed.

                    Used Parameters

                    Name Value Description
                    existingFullyQualifiedConstantName
                    javax.management.remote.rmi.RMIConnectorServer.CREDENTIAL_TYPES
                    fullyQualifiedConstantName
                    javax.management.remote.rmi.RMIConnectorServer.CREDENTIALS_FILTER_PATTERN

                    Depth: 9

                • org.openrewrite.java.migrate.RemovedFileIOFinalizeMethods

                  Name

                  Replace `finalize` method in `java.io.FileInputStream` and `java.io.FileOutputStream`

                  Description

                  The `finalize` method in `java.io.FileInputStream` and `java.io.FileOutputStream` is no longer available in Java SE 12 and later. The recipe replaces it with the `close` method.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.io.FileInputStream finalize()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    close
                    The method name that will replace the existing name.
                    ignoreDefinition
                    true
                    When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    java.io.FileOutputStream finalize()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    close
                    The method name that will replace the existing name.
                    ignoreDefinition
                    true
                    When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                    Depth: 9

                • org.openrewrite.java.migrate.UpgradePluginsForJava17

                  Name

                  Upgrade plugins to Java 17 compatible versions

                  Description

                  Updates plugins to version compatible with Java 17.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.github.SetupJavaUpgradeJavaVersion

                    Name

                    Upgrade `actions/setup-java` `java-version`

                    Description

                    Update the Java version used by `actions/setup-java` if it is below the expected version number.

                    Used Parameters

                    Name Value Description
                    minimumJavaMajorVersion
                    17

                    Depth: 9

                  • org.openrewrite.gradle.UpdateGradleWrapper

                    Name

                    Update Gradle wrapper

                    Description

                    Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

                    Used Parameters

                    Name Value Description
                    version
                    7.3
                    An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
                    addIfMissing
                    false
                    Add a Gradle wrapper, if it's missing. Defaults to `true`.

                    Depth: 9

                  • org.openrewrite.maven.UpgradePluginVersion

                    Name

                    Upgrade Maven plugin version

                    Description

                    Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.apache.maven.plugins
                    The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    artifactId
                    maven-checkstyle-plugin
                    The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    newVersion
                    3.x
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                    Depth: 9

                  • org.openrewrite.maven.UpgradePluginVersion

                    Name

                    Upgrade Maven plugin version

                    Description

                    Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.apache.maven.plugins
                    The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    artifactId
                    maven-compiler-plugin
                    The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    newVersion
                    3.x
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                    Depth: 9

                  • org.openrewrite.maven.UpgradePluginVersion

                    Name

                    Upgrade Maven plugin version

                    Description

                    Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.apache.maven.plugins
                    The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    artifactId
                    maven-war-plugin
                    The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    newVersion
                    3.x
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                    Depth: 9

                  • org.openrewrite.maven.UpgradePluginVersion

                    Name

                    Upgrade Maven plugin version

                    Description

                    Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    com.sonatype.clm
                    The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    artifactId
                    clm-maven-plugin
                    The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    newVersion
                    2.47.6-01
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                    Depth: 9

                  • org.openrewrite.maven.UpgradePluginVersion

                    Name

                    Upgrade Maven plugin version

                    Description

                    Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    ro.isdc.wro4j
                    The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    artifactId
                    wro4j-maven-plugin
                    The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    newVersion
                    2.1.x
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                    Depth: 9

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  com.google.inject
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  guice
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  5.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.migrate.AddLombokMapstructBinding

                  Name

                  Add `lombok-mapstruct-binding` when both MapStruct and Lombok are used

                  Description

                  Add the `lombok-mapstruct-binding` annotation processor as needed when both MapStruct and Lombok are used.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

                    Name

                    Precondition bellwether

                    Description

                    Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

                    Depth: 9

                  • org.openrewrite.gradle.AddDependency

                    Name

                    Add Gradle dependency

                    Description

                    Add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used.

                    Depth: 9

                  • org.openrewrite.maven.AddDependency

                    Name

                    Add Maven dependency

                    Description

                    Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                    Depth: 9

                  • org.openrewrite.maven.AddAnnotationProcessor

                    Name

                    Add an annotation processor to `maven-compiler-plugin`

                    Description

                    Add an annotation processor to the maven compiler plugin. Will not do anything if it already exists. Also doesn't add anything when no other annotation processors are defined yet. (Perhaps `ChangePluginConfiguration` can be used).

                    Depth: 9

              • org.openrewrite.java.migrate.jakarta.UpdateJakartaAnnotations2

                Name

                Update Jakarta EE annotation Dependencies to 2.1.x.

                Description

                Update Jakarta EE annotation Dependencies to 2.1.x.

                Depth: 7

                Included recipes

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  jakarta.annotations
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  jakarta.annotation-api
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  2.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.boot
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                3.0.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.
                retainVersions
                [org.thymeleaf:thymeleaf-spring5, org.thymeleaf.extras:thymeleaf-extras-springsecurity5]
                For Maven project only, accepts a list of GAVs. For each GAV, if it is a project direct dependency, and it is removed from dependency management after the changes from this recipe, then it will be retained with an explicit version. The version can be omitted from the GAV to use the old value from dependency management.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                6.0.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

              • org.openrewrite.maven.UpgradePluginVersion

                Name

                Upgrade Maven plugin version

                Description

                Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.boot
                The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                artifactId
                spring-boot-maven-plugin
                The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                newVersion
                3.0.x
                An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                Depth: 7

              • org.openrewrite.maven.UpgradeParentVersion

                Name

                Upgrade Maven parent project version

                Description

                Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.boot
                The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                artifactId
                spring-boot-starter-parent
                The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                newVersion
                3.0.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

              • org.openrewrite.gradle.plugins.UpgradePluginVersion

                Name

                Update a Gradle plugin by id

                Description

                Update a Gradle plugin by id to a later version.

                Used Parameters

                Name Value Description
                pluginIdPattern
                org.springframework.boot
                The `ID` part of `plugin { ID }`, as a glob expression.
                newVersion
                3.0.x
                An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                Depth: 7

              • org.openrewrite.gradle.plugins.UpgradePluginVersion

                Name

                Update a Gradle plugin by id

                Description

                Update a Gradle plugin by id to a later version.

                Used Parameters

                Name Value Description
                pluginIdPattern
                io.spring.dependency-management
                The `ID` part of `plugin { ID }`, as a glob expression.
                newVersion
                1.1.x
                An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

                Depth: 7

              • org.openrewrite.gradle.UpdateGradleWrapper

                Name

                Update Gradle wrapper

                Description

                Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

                Used Parameters

                Name Value Description
                version
                ^7.4
                An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
                addIfMissing
                false
                Add a Gradle wrapper, if it's missing. Defaults to `true`.

                Depth: 7

              • com.sap.cx.rewrite.java.migrate.jakarta.JavaxMigrationToJakartaEE9

                Name

                Migrate to Jakarta EE 9

                Description

                Jakarta EE 9 is the first version of Jakarta EE that uses the new `jakarta` namespace.

                Depth: 7

                Included recipes

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxActivationMigrationToJakartaActivation

                  Name

                  Migrate deprecated `javax.activation` packages to `jakarta.activation`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.activation
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.activation-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.activation
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.activation-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.1.3
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.activation
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.activation-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.1.3
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.activation
                    The package name to replace.
                    newPackageName
                    jakarta.activation
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxAnnotationMigrationToJakartaAnnotation

                  Name

                  Migrate deprecated `javax.annotation` to `jakarta.annotation`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.annotation
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.annotation-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.annotation
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.annotation-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish.main
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.annotation
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.annotation
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.annotation-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.annotation
                    The package name to replace.
                    newPackageName
                    jakarta.annotation
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    jakarta.annotation.processing
                    The package name to replace.
                    newPackageName
                    javax.annotation.processing
                    New package name to replace the old package name with.

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxAuthenticationMigrationToJakartaAuthentication

                  Name

                  Migrate deprecated `javax.security.auth.message` packages to `jakarta.security.auth.message`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.security.auth.message
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.security.auth.message-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.authentication
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.authentication-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish.main
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.security.auth.message
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.authentication
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.authentication-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.authentication
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.authentication-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.security.auth.message
                    The package name to replace.
                    newPackageName
                    jakarta.security.auth.message
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxAuthorizationMigrationToJakartaAuthorization

                  Name

                  Migrate deprecated `javax.security.jacc` packages to `jakarta.security.jacc`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.security.jacc
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.security.jacc-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.authorization
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.authorization-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish.main
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.security.jacc
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.authorization
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.authorization-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.authorization
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.authorization-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.security.jacc
                    The package name to replace.
                    newPackageName
                    jakarta.security.jacc
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxBatchMigrationToJakartaBatch

                  Name

                  Migrate deprecated `javax.batch` packages to `jakarta.batch`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.batch
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.batch-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.batch
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.batch-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.batch
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.batch-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.batch
                    The package name to replace.
                    newPackageName
                    jakarta.batch
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxDecoratorToJakartaDecorator

                  Name

                  Migrate deprecated `javax.decorator` packages to `jakarta.decorator`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.enterprise
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    cdi-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.enterprise
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.enterprise.cdi-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.enterprise
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.enterprise.cdi-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.decorator
                    The package name to replace.
                    newPackageName
                    jakarta.decorator
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxEjbToJakartaEjb

                  Name

                  Migrate deprecated `javax.ejb` packages to `jakarta.ejb`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.ejb
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.ejb-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.ejb
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.ejb-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    4.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish.main
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.ejb
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.ejb
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.ejb-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    4.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.ejb
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.ejb-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    4.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.ejb
                    The package name to replace.
                    newPackageName
                    jakarta.ejb
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxElToJakartaEl

                  Name

                  Migrate deprecated `javax.el` packages to `jakarta.el`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.el
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.el-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.el
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.el-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    4.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.el
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.el-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    4.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.el
                    The package name to replace.
                    newPackageName
                    jakarta.el
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxEnterpriseToJakartaEnterprise

                  Name

                  Migrate deprecated `javax.enterprise` packages to `jakarta.enterprise`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.enterprise
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    cdi-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.enterprise
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.enterprise.cdi-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.enterprise
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.enterprise.cdi-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.enterprise
                    The package name to replace.
                    newPackageName
                    jakarta.enterprise
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxFacesToJakartaFaces

                  Name

                  Migrate deprecated `javax.faces` packages to `jakarta.faces`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.faces
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.faces-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.faces
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.faces-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.faces
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.faces-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.faces
                    The package name to replace.
                    newPackageName
                    jakarta.faces
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxInjectMigrationToJakartaInject

                  Name

                  Migrate deprecated `javax.inject` packages to `jakarta.inject`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.inject
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.inject-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.inject
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.inject-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.inject
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.inject
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.inject
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.inject-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.inject
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.inject-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.inject
                    The package name to replace.
                    newPackageName
                    jakarta.inject
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxInterceptorToJakartaInterceptor

                  Name

                  Migrate deprecated `javax.interceptor` packages to `jakarta.interceptor`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.interceptor
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.interceptor-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.interceptor
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.interceptor-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.interceptor
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.interceptor-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.interceptor
                    The package name to replace.
                    newPackageName
                    jakarta.interceptor
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxJmsToJakartaJms

                  Name

                  Migrate deprecated `javax.jms` packages to `jakarta.jms`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.jms
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.jms-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.jms
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.jms-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish.main
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.jms
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.jms
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.jms-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.jms
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.jms-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.jms
                    The package name to replace.
                    newPackageName
                    jakarta.jms
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxJsonToJakartaJson

                  Name

                  Migrate deprecated `javax.json` packages to `jakarta.json`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.json
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.json-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.json
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.json-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.json
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.json-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.json
                    The package name to replace.
                    newPackageName
                    jakarta.json
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxJwsToJakartaJws

                  Name

                  Migrate deprecated `javax.jws` packages to `jakarta.jws`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.jws
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.jws-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.jws
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.jws-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish.main
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.jws
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.jws
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.jws-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.jws
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.jws-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.jws
                    The package name to replace.
                    newPackageName
                    jakarta.jws
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxMailToJakartaMail

                  Name

                  Migrate deprecated `javax.mail` packages to `jakarta.mail`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.mail
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.mail-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.mail
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.mail-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.mail
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.mail-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.mail
                    The package name to replace.
                    newPackageName
                    jakarta.mail
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxOrmXmlToJakartaOrmXml

                  Name

                  Migrate xmlns entries in `orm.xml` files

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

                    Name

                    Precondition bellwether

                    Description

                    Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

                    Depth: 9

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Depth: 9

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Depth: 9

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence

                  Name

                  Migrate deprecated `javax.persistence` packages to `jakarta.persistence`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.persistence
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.persistence-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.persistence
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.persistence-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.2.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.eclipse.persistence
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.persistence
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.persistence
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.persistence-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.2.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.persistence
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.persistence-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.2.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.persistence
                    The package name to replace.
                    newPackageName
                    jakarta.persistence
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml

                  Name

                  Migrate xmlns entries in `persistence.xml` files

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

                    Name

                    Precondition bellwether

                    Description

                    Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

                    Depth: 9

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Depth: 9

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Depth: 9

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Depth: 9

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Depth: 9

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxResourceToJakartaResource

                  Name

                  Migrate deprecated `javax.resource` packages to `jakarta.resource`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.resource
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.resource-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.resource
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.resource-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish.main
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.resource
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.resource
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.resource-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.resource
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.resource-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.resource
                    The package name to replace.
                    newPackageName
                    jakarta.resource
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxSecurityToJakartaSecurity

                  Name

                  Migrate deprecated `javax.security.enterprise` packages to `jakarta.security.enterprise`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.security.enterprise
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.security.enterprise-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.security.enterprise
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.security.enterprise-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.security.enterprise
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.security.enterprise-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.security.enterprise
                    The package name to replace.
                    newPackageName
                    jakarta.security.enterprise
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxServletToJakartaServlet

                  Name

                  Migrate deprecated `javax.servlet` packages to `jakarta.servlet`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.servlet
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.servlet-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.servlet
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.servlet-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    6.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.servlet
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.servlet-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    6.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.servlet
                    The package name to replace.
                    newPackageName
                    jakarta.servlet
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxTransactionMigrationToJakartaTransaction

                  Name

                  Migrate deprecated `javax.transaction` packages to `jakarta.transaction`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.transaction
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.transaction-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.transaction
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.transaction-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish.main
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.transaction
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.transaction
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.transaction-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.transaction
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.transaction-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.transaction
                    The package name to replace.
                    newPackageName
                    jakarta.transaction
                    New package name to replace the old package name with.
                    recursive
                    false
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxValidationMigrationToJakartaValidation

                  Name

                  Migrate deprecated `javax.validation` packages to `jakarta.validation`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.validation
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    validation-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.validation
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.validation-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.1.1
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.validation
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.validation-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.1.1
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.validation
                    The package name to replace.
                    newPackageName
                    jakarta.validation
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                  • org.openrewrite.RenameFile

                    Name

                    Rename a file

                    Description

                    Rename a file while keeping it in the same directory.

                    Used Parameters

                    Name Value Description
                    fileMatcher
                    **/javax.validation.ConstraintValidator
                    Matching files will be renamed. This is a glob expression.
                    fileName
                    jakarta.validation.ConstraintValidator
                    Just the file name without the folder path that precedes it.

                    Depth: 9

                  • org.openrewrite.text.FindAndReplace

                    Name

                    Find and replace

                    Description

                    Textual find and replace, optionally interpreting the search query as a Regular Expression (regex). When operating on source files that are language-specific Lossless Semantic Tree, such as Java or XML, this operation converts the source file to plain text for the rest of the recipe run. So if you are combining this recipe with language-specific recipes in a single recipe run put all the language-specific recipes before this recipe.

                    Used Parameters

                    Name Value Description
                    find
                    javax.
                    The text to find (and replace). This snippet can be multiline.
                    replace
                    jakarta.
                    The replacement text for `find`. This snippet can be multiline.
                    filePattern
                    **/ValidationMessages*.properties
                    A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched.

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxWebsocketToJakartaWebsocket

                  Name

                  Migrate deprecated `javax.websocket` packages to `jakarta.websocket`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.websocket
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.websocket-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.websocket
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.websocket-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.websocket
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.websocket-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.websocket
                    The package name to replace.
                    newPackageName
                    jakarta.websocket
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxWsToJakartaWs

                  Name

                  Migrate deprecated `javax.ws` packages to `jakarta.ws`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.ws.rs
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.ws.rs-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.ws.rs
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.ws.rs-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    4.0.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.ws.rs
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.ws.rs-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    4.0.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.ws
                    The package name to replace.
                    newPackageName
                    jakarta.ws
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxXmlBindMigrationToJakartaXmlBind

                  Name

                  Migrate deprecated `javax.xml.bind` packages to `jakarta.xml.bind`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.xml.bind
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jaxb-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.xml.bind
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.xml.bind-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    4.0.2
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.xml.bind
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.xml.bind-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    4.0.2
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.sun.xml.bind
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jaxb-impl
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    org.glassfish.jaxb
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jaxb-runtime
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    4.0.5
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.glassfish.jaxb
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jaxb-runtime
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    4.0.5
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.xml.bind
                    The package name to replace.
                    newPackageName
                    jakarta.xml.bind
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                  • org.openrewrite.maven.UpgradePluginVersion

                    Name

                    Upgrade Maven plugin version

                    Description

                    Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.codehaus.mojo
                    The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    artifactId
                    jaxb2-maven-plugin
                    The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    newVersion
                    3.x
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                    Depth: 9

                  • org.openrewrite.maven.UpgradePluginVersion

                    Name

                    Upgrade Maven plugin version

                    Description

                    Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.codehaus.mojo
                    The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    artifactId
                    jaxb-maven-plugin
                    The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
                    newVersion
                    4.x
                    An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxXmlSoapToJakartaXmlSoap

                  Name

                  Migrate deprecated `javax.soap` packages to `jakarta.soap`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.xml.soap
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.xml.soap-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.xml.soap
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.xml.soap-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.1
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.xml.soap
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.xml.soap-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2.0.1
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.xml.soap
                    The package name to replace.
                    newPackageName
                    jakarta.xml.soap
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxXmlWsMigrationToJakartaXmlWs

                  Name

                  Migrate deprecated `javax.xml.ws` packages to `jakarta.xml.ws`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax.xml.ws
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jaxws-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.xml.ws
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.xml.ws-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.xml.ws
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jakarta.xml.ws-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.AddDependency

                    Name

                    Add Gradle or Maven dependency

                    Description

                    For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                    Used Parameters

                    Name Value Description
                    groupId
                    com.sun.xml.ws
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                    artifactId
                    jaxws-rt
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                    version
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    onlyIfUsing
                    javax.xml.ws..*
                    Used to determine if the dependency will be added and in which scope it should be placed.
                    scope
                    runtime
                    The Maven scope within which to place the dependency. When omitted scope will be determined based on where types matching `onlyIfUsing` appear in source code.
                    acceptTransitive
                    true
                    Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    com.sun.xml.ws
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    jaxws-rt
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    javax.xml.ws
                    The package name to replace.
                    newPackageName
                    jakarta.xml.ws
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JacksonJavaxToJakarta

                  Name

                  Migrate Jackson from javax to jakarta namespace

                  Description

                  Java EE has been rebranded to Jakarta EE. This recipe replaces existing Jackson dependencies with their counterparts that are compatible with Jakarta EE 9.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.module
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jackson-module-jaxb-annotations
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    com.fasterxml.jackson.module
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jackson-module-jakarta-xmlbind-annotations
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.13.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                    Name

                    Change Maven managed dependency groupId, artifactId and optionally the version

                    Description

                    Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.module
                    The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    oldArtifactId
                    jackson-module-jaxb-annotations
                    The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    newGroupId
                    com.fasterxml.jackson.module
                    The new groupId to use.
                    newArtifactId
                    jackson-module-jakarta-xmlbind-annotations
                    The new artifactId to use.
                    newVersion
                    2.13.x
                    The new version to use.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jackson-jaxrs-cbor-provider
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jackson-jakarta-rs-cbor-provider
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.13.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jackson-jaxrs-base
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jackson-jakarta-rs-base
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.13.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                    Name

                    Change Maven managed dependency groupId, artifactId and optionally the version

                    Description

                    Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    oldArtifactId
                    jackson-jaxrs-cbor-provider
                    The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new groupId to use.
                    newArtifactId
                    jackson-jakarta-rs-cbor-provider
                    The new artifactId to use.
                    newVersion
                    2.13.x
                    The new version to use.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jackson-jaxrs-json-provider
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jackson-jakarta-rs-json-provider
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.13.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                    Name

                    Change Maven managed dependency groupId, artifactId and optionally the version

                    Description

                    Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    oldArtifactId
                    jackson-jaxrs-json-provider
                    The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new groupId to use.
                    newArtifactId
                    jackson-jakarta-rs-json-provider
                    The new artifactId to use.
                    newVersion
                    2.13.x
                    The new version to use.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jackson-jaxrs-smile-provider
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jackson-jakarta-rs-smile-provider
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.13.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                    Name

                    Change Maven managed dependency groupId, artifactId and optionally the version

                    Description

                    Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    oldArtifactId
                    jackson-jaxrs-smile-provider
                    The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new groupId to use.
                    newArtifactId
                    jackson-jakarta-rs-smile-provider
                    The new artifactId to use.
                    newVersion
                    2.13.x
                    The new version to use.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jackson-jaxrs-xml-provider
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jackson-jakarta-rs-xml-provider
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.13.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                    Name

                    Change Maven managed dependency groupId, artifactId and optionally the version

                    Description

                    Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    oldArtifactId
                    jackson-jaxrs-xml-provider
                    The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new groupId to use.
                    newArtifactId
                    jackson-jakarta-rs-xml-provider
                    The new artifactId to use.
                    newVersion
                    2.13.x
                    The new version to use.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jackson-jaxrs-yaml-provider
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jackson-jakarta-rs-yaml-provider
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.13.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                    Name

                    Change Maven managed dependency groupId, artifactId and optionally the version

                    Description

                    Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.jaxrs
                    The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    oldArtifactId
                    jackson-jaxrs-yaml-provider
                    The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    newGroupId
                    com.fasterxml.jackson.jakarta.rs
                    The new groupId to use.
                    newArtifactId
                    jackson-jakarta-rs-yaml-provider
                    The new artifactId to use.
                    newVersion
                    2.13.x
                    The new version to use.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.datatype
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    jackson-datatype-jsr353
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    com.fasterxml.jackson.datatype
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jackson-datatype-jakarta-jsonp
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.13.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                    Name

                    Change Maven managed dependency groupId, artifactId and optionally the version

                    Description

                    Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    com.fasterxml.jackson.datatype
                    The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    oldArtifactId
                    jackson-datatype-jsr353
                    The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    newGroupId
                    com.fasterxml.jackson.datatype
                    The new groupId to use.
                    newArtifactId
                    jackson-datatype-jakarta-jsonp
                    The new artifactId to use.
                    newVersion
                    2.13.x
                    The new version to use.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javax.json
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    org.glassfish
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.json
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

                    Name

                    Change Maven managed dependency groupId, artifactId and optionally the version

                    Description

                    Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.glassfish
                    The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    oldArtifactId
                    javax.json
                    The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    newGroupId
                    org.glassfish
                    The new groupId to use.
                    newArtifactId
                    jakarta.json
                    The new artifactId to use.
                    newVersion
                    2.0.x
                    The new version to use.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    com.fasterxml.jackson.datatype.jsr353.JSR353Module
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    com.fasterxml.jackson.datatype.jsonp.JSONPModule
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.EhcacheJavaxToJakarta

                  Name

                  Migrate Ehcache from javax to jakarta namespace

                  Description

                  Java EE has been rebranded to Jakarta EE. This recipe replaces existing Ehcache dependencies with their counterparts that are compatible with Jakarta EE 9.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.ehcache
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.10.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.maven.ChangeDependencyClassifier

                    Name

                    Change Maven dependency classifier

                    Description

                    Add or alter the classifier of the specified dependency.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.ehcache
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    ehcache
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newClassifier
                    jakarta
                    Classifier to apply to specified Maven dependency. May be omitted, which indicates that no classifier should be added and any existing scope be removed from the dependency.

                    Depth: 9

                  • org.openrewrite.maven.ChangeDependencyClassifier

                    Name

                    Change Maven dependency classifier

                    Description

                    Add or alter the classifier of the specified dependency.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.ehcache
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    ehcache-transactions
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newClassifier
                    jakarta
                    Classifier to apply to specified Maven dependency. May be omitted, which indicates that no classifier should be added and any existing scope be removed from the dependency.

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.JohnzonJavaxToJakarta

                  Name

                  Migrate Johnzon from javax to jakarta namespace

                  Description

                  Java EE has been rebranded to Jakarta EE. This recipe replaces existing Johnzon dependencies with their counterparts that are compatible with Jakarta EE 9.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.apache.johnzon
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    latest.release
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.AddDependency

                    Name

                    Add Gradle or Maven dependency

                    Description

                    For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.json
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                    artifactId
                    jakarta.json-api
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                    version
                    2.1.x
                    An exact version number or node-style semver selector used to select the version number.
                    onlyIfUsing
                    org.apache.johnzon..*
                    Used to determine if the dependency will be added and in which scope it should be placed.
                    scope
                    provided
                    The Maven scope within which to place the dependency. When omitted scope will be determined based on where types matching `onlyIfUsing` appear in source code.

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.RestAssuredJavaxToJakarta

                  Name

                  Migrate RestAssured from javax to jakarta namespace by upgrading to a version compatible with J2EE9

                  Description

                  Java EE has been rebranded to Jakarta EE. This recipe replaces existing RestAssured dependencies with their counterparts that are compatible with Jakarta EE 9.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    io.rest-assured
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.1.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                • org.openrewrite.java.migrate.jakarta.ApplicationPathWildcardNoLongerAccepted

                  Name

                  Remove trailing slash from `jakarta.ws.rs.ApplicationPath` values

                  Description

                  Remove trailing `/*` from `jakarta.ws.rs.ApplicationPath` values.

                  Depth: 8

                • com.sap.cx.rewrite.java.migrate.jakarta.UpdateApacheWSSecurityPackages

                  Name

                  Migrate `org.apache.ws.security` and `org.apache.ws.security.components.crypto` packages to `org.apache.wss4j.common.ext` and `org.apache.wss4j.common.crypto` packages

                  Description

                  Java EE has been rebranded to Jakarta EE. This recipe replaces Apache security packages to migrate to Apache `wss4j`.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.ws.security
                    The package name to replace.
                    newPackageName
                    org.apache.wss4j.common.ext
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.ws.security.components.crypto
                    The package name to replace.
                    newPackageName
                    org.apache.wss4j.common.crypto
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                • org.openrewrite.java.migrate.javaee8

                  Name

                  Migrate to JavaEE8

                  Description

                  These recipes help with the Migration to Java EE 8, flagging and updating deprecated methods.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.migrate.javaee7

                    Name

                    Migrate to JavaEE7

                    Description

                    These recipes help with the Migration to Java EE 7, flagging and updating deprecated methods.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.migrate.javaee6

                      Name

                      Migrate to JavaEE6

                      Description

                      These recipes help with the Migration to Java EE 6, flagging and updating deprecated methods.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.migrate.javax.HttpSessionInvalidate

                        Name

                        Use HttpServletRequest `logout` method for programmatic security logout in Servlet 3.0

                        Description

                        Do not rely on HttpSession `invalidate` method for programmatic security logout. Add the HttpServletRequest `logout` method which was introduced in Java EE 6 as part of the Servlet 3.0 specification.

                        Depth: 11

                    • org.openrewrite.java.migrate.javaee7.OpenJPAPersistenceProvider

                      Name

                      Removed OpenJPA providers in the persistence.xml file

                      Description

                      When migrating to EclipseLink, using OpenJPA providers in EclipseLink results in runtime errors. To resolve these errors, the recipe removes the flagged OpenJPA provider from the persistence.xml.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.xml.ChangeTagValue

                        Name

                        Change XML tag value

                        Description

                        Alters the value of XML tags matching the provided expression.

                        Used Parameters

                        Name Value Description
                        elementName
                        /persistence/persistence-unit/provider
                        The name of the element whose value is to be changed. Interpreted as an XPath Expression.
                        oldValue
                        org.apache.openjpa.persistence.PersistenceProviderImpl
                        The old value of the tag.
                        newValue
                        org.eclipse.persistence.jpa.PersistenceProvider
                        The new value for the tag.

                        Depth: 11

                    • org.openrewrite.java.migrate.JpaCacheProperties

                      Name

                      Disable the persistence unit second-level cache

                      Description

                      Sets an explicit value for the shared cache mode.

                      Depth: 10

                    • org.openrewrite.java.migrate.BeansXmlNamespace

                      Name

                      Change `beans.xml` `schemaLocation` to match XML namespace

                      Description

                      Set the `schemaLocation` that corresponds to the `xmlns` set in `beans.xml` files.

                      Depth: 10

                  • org.openrewrite.java.migrate.javaee8.ServletIsRequestedSessionIdFromURL

                    Name

                    Replace `HttpServletRequestWrapper.isRequestedSessionIdFromUrl()` with `isRequestedSessionIdFromURL()`

                    Description

                    The method `HttpServletRequestWrapper.isRequestedSessionIdFromUrl()` is deprecated in JavaEE8 and is replaced by `HttpServletRequestWrapper.isRequestedSessionIdFromURL()`.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangeMethodName

                      Name

                      Change method name

                      Description

                      Rename a method.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      javax.servlet.http.HttpServletRequestWrapper isRequestedSessionIdFromUrl()
                      A method pattern that is used to find matching method declarations/invocations.
                      newMethodName
                      isRequestedSessionIdFromURL
                      The method name that will replace the existing name.
                      ignoreDefinition
                      true
                      When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                      Depth: 10

                  • org.openrewrite.java.migrate.javaee8.ApacheDefaultProvider

                    Name

                    Flags any `org.apache.bval.jsr*` (bval 1.1) and `org.apache.bval.jsr303*` (bval 1.0) package references

                    Description

                    This recipe flags any `org.apache.bval.jsr*` (bval 1.1) and `org.apache.bval.jsr303*` (bval 1.0) package references in validation.xml deployment descriptors. Bean Validation 2.0 and later use the Hibernate Validator implementation instead of the Apache BVal implementation which was used for Bean Validation 1.0 and 1.1.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.xml.ChangeTagValue

                      Name

                      Change XML tag value

                      Description

                      Alters the value of XML tags matching the provided expression.

                      Used Parameters

                      Name Value Description
                      elementName
                      /validation-config/default-provider
                      The name of the element whose value is to be changed. Interpreted as an XPath Expression.
                      newValue
                      org.hibernate.validator.HibernateValidator
                      The new value for the tag.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagValue

                      Name

                      Change XML tag value

                      Description

                      Alters the value of XML tags matching the provided expression.

                      Used Parameters

                      Name Value Description
                      elementName
                      /validation-config/message-interpolator
                      The name of the element whose value is to be changed. Interpreted as an XPath Expression.
                      newValue
                      org.hibernate.validator.messageinterpolation.ResourceBundleMessageInterpolator
                      The new value for the tag.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagValue

                      Name

                      Change XML tag value

                      Description

                      Alters the value of XML tags matching the provided expression.

                      Used Parameters

                      Name Value Description
                      elementName
                      /validation-config/traversable-resolver
                      The name of the element whose value is to be changed. Interpreted as an XPath Expression.
                      newValue
                      org.hibernate.validator.engine.resolver.DefaultTraversableResolver
                      The new value for the tag.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagValue

                      Name

                      Change XML tag value

                      Description

                      Alters the value of XML tags matching the provided expression.

                      Used Parameters

                      Name Value Description
                      elementName
                      /validation-config/constraint-validator-factory
                      The name of the element whose value is to be changed. Interpreted as an XPath Expression.
                      newValue
                      org.hibernate.validator.engine.ConstraintValidatorFactoryImpl
                      The new value for the tag.

                      Depth: 10

                    • org.openrewrite.xml.RemoveXmlTag

                      Name

                      Remove XML tag

                      Description

                      Removes XML tags matching the provided expression.

                      Used Parameters

                      Name Value Description
                      xPath
                      /validation-config/parameter-name-provider
                      An XPath expression used to find matching tags.

                      Depth: 10

                • com.sap.cx.rewrite.java.migrate.jakarta.JavaxEEApiToJakarta

                  Name

                  Migrate deprecated `javaee-api` dependencies to `jakarta.platform`

                  Description

                  Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    javax
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    javaee-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    jakarta.platform
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    jakarta.jakartaee-api
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    9.0.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    jakarta.platform
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    9.0.0
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                • com.sap.cx.rewrite.java.migrate.jakarta.RemoveJakartaAnnotationDependency

                  Name

                  Remove `jakarta.annotation-api` dependency when managed by Spring Boot

                  Description

                  Counteract the `jakarta.annotation-api` added by `org.openrewrite.java.migrate.javax.AddCommonAnnotationsDependencies` for Spring Boot applications.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

                    Name

                    Precondition bellwether

                    Description

                    Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

                    Depth: 9

                  • org.openrewrite.java.dependencies.RemoveDependency

                    Name

                    Remove a Gradle or Maven dependency

                    Description

                    For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                    Depth: 9

              • org.openrewrite.java.ChangePackage

                Name

                Rename package name

                Description

                A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                Used Parameters

                Name Value Description
                oldPackageName
                jakarta.annotation.concurrent
                The package name to replace.
                newPackageName
                javax.annotation.concurrent
                New package name to replace the old package name with.

                Depth: 7

              • org.openrewrite.java.spring.boot3.RemoveConstructorBindingAnnotation

                Name

                Remove Unnecessary `@ConstructorBinding`

                Description

                As of Boot 3.0 `@ConstructorBinding` is no longer needed at the type level on `@ConfigurationProperties` classes and should be removed.

                Depth: 7

              • org.openrewrite.java.spring.boot2.MoveAutoConfigurationToImportsFile

                Name

                Use `AutoConfiguration#imports`

                Description

                Use `AutoConfiguration#imports` instead of the deprecated entry `EnableAutoConfiguration` in `spring.factories` when defining autoconfiguration classes.

                Used Parameters

                Name Value Description

                Depth: 7

              • org.openrewrite.java.spring.boot3.ActuatorEndpointSanitization

                Name

                Remove the deprecated properties `additional-keys-to-sanitize` from the `configprops` and `env` end points

                Description

                Spring Boot 3.0 removed the key-based sanitization mechanism used in Spring Boot 2.x in favor of a unified approach. See https://github.com/openrewrite/rewrite-spring/issues/228

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.DeleteSpringProperty

                  Name

                  Delete a spring configuration property

                  Description

                  Delete a spring configuration property from any configuration file that contains a matching key.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.endpoint.configprops.additional-keys-to-sanitize
                  The property key to delete. Supports glob expressions

                  Depth: 8

                • org.openrewrite.java.spring.DeleteSpringProperty

                  Name

                  Delete a spring configuration property

                  Description

                  Delete a spring configuration property from any configuration file that contains a matching key.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.endpoint.env.additional-keys-to-sanitize
                  The property key to delete. Supports glob expressions

                  Depth: 8

              • org.openrewrite.java.spring.boot3.MigrateMaxHttpHeaderSize

                Name

                Rename `server.max-http-header-size` to `server.max-http-request-header-size`

                Description

                Previously, the server.max-http-header-size was treated inconsistently across the four supported embedded web servers. When using Jetty, Netty, or Undertow it would configure the max HTTP request header size. When using Tomcat it would configure the max HTTP request and response header sizes. The renamed property is used to configure the http request header size in Spring Boot 3.0. **To limit the max header size of an HTTP response on Tomcat or Jetty (the only two servers that support such a setting), use a `WebServerFactoryCustomizer`**.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  server.max-http-header-size
                  The property key to rename.
                  newPropertyKey
                  server.max-http-request-header-size
                  The new name for the property key.

                  Depth: 8

              • org.openrewrite.java.spring.boot3.DowngradeServletApiWhenUsingJetty

                Name

                Downgrade Jakarta Servlet API to 5.0 when using Jetty

                Description

                Jetty does not yet support Servlet 6.0. This recipe will detect the presence of the `spring-boot-starter-jetty` as a first-order dependency and will add the maven property `jakarta-servlet.version` setting it's value to `5.0.0`. This will downgrade the `jakarta-servlet` artifact if the pom's parent extends from the spring-boot-parent.

                Depth: 7

              • org.openrewrite.java.spring.boot3.ConfigurationOverEnableSecurity

                Name

                Add `@Configuration` to classes with `@EnableXXXSecurity` annotations

                Description

                Prior to Spring Security 6, `@EnableXXXSecurity` implicitly had `@Configuration`. `Configuration` was removed from the definitions of the `@EnableSecurity` definitions in Spring Security 6. Consequently classes annotated with `@EnableXXXSecurity` coming from pre-Boot 3 should have `@Configuration` annotation added.

                Used Parameters

                Name Value Description
                forceAddConfiguration
                false
                Force add `@Configuration` regardless current Boot version.

                Depth: 7

              • org.openrewrite.java.spring.boot3.SpringBootProperties_3_0

                Name

                Migrate Spring Boot properties to 3.0

                Description

                Migrate properties found in `application.properties` and `application.yml`.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.api-token
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.api-token
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.enabled
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.floor-times
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.floor-times
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.host-tag
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.host-tag
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.step
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.appoptics.uri
                  The property key to rename.
                  newPropertyKey
                  management.appoptics.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.config-refresh-frequency
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.config-refresh-frequency
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.config-time-to-live
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.config-time-to-live
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.config-uri
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.config-uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.enabled
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.eval-uri
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.eval-uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.lwc-enabled
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.lwc-enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.meter-time-to-live
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.meter-time-to-live
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.num-threads
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.num-threads
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.step
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.atlas.uri
                  The property key to rename.
                  newPropertyKey
                  management.atlas.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.api-key
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.api-key
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.application-key
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.application-key
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.descriptions
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.descriptions
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.enabled
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.host-tag
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.host-tag
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.num-threads
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.num-threads
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.step
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.datadog.uri
                  The property key to rename.
                  newPropertyKey
                  management.datadog.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.defaults.enabled
                  The property key to rename.
                  newPropertyKey
                  management.defaults.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.api-token
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.api-token
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.device-id
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.device-id
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.enabled
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.group
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.group
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.step
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.technology-type
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.technology-type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.uri
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.v1.device-id
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.v1.device-id
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.v1.group
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.v1.group
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.v1.technology-type
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.v1.technology-type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.v2.default-dimensions
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.v2.default-dimensions
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.v2.enrich-with-dynatrace-metadata
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.v2.enrich-with-dynatrace-metadata
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.dynatrace.v2.metric-key-prefix
                  The property key to rename.
                  newPropertyKey
                  management.dynatrace.metrics.export.v2.metric-key-prefix
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.api-key-credentials
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.api-key-credentials
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.auto-create-index
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.auto-create-index
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.enabled
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.host
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.host
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.index
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.index
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.index-date-format
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.index-date-format
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.index-date-separator
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.index-date-separator
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.password
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.password
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.pipeline
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.pipeline
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.step
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.timestamp-field-name
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.timestamp-field-name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.elastic.user-name
                  The property key to rename.
                  newPropertyKey
                  management.elastic.metrics.export.user-name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.addressing-mode
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.addressing-mode
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.duration-units
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.duration-units
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.enabled
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.host
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.host
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.port
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.port
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.protocol-version
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.protocol-version
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.rate-units
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.rate-units
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.step
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.ganglia.time-to-live
                  The property key to rename.
                  newPropertyKey
                  management.ganglia.metrics.export.time-to-live
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.duration-units
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.duration-units
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.enabled
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.graphite-tags-enabled
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.graphite-tags-enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.host
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.host
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.port
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.port
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.protocol
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.protocol
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.rate-units
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.rate-units
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.step
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.graphite.tags-as-prefix
                  The property key to rename.
                  newPropertyKey
                  management.graphite.metrics.export.tags-as-prefix
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.humio.api-token
                  The property key to rename.
                  newPropertyKey
                  management.humio.metrics.export.api-token
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.humio.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.humio.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.humio.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.humio.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.humio.enabled
                  The property key to rename.
                  newPropertyKey
                  management.humio.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.humio.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.humio.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.humio.step
                  The property key to rename.
                  newPropertyKey
                  management.humio.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.humio.tags
                  The property key to rename.
                  newPropertyKey
                  management.humio.metrics.export.tags
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.humio.uri
                  The property key to rename.
                  newPropertyKey
                  management.humio.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.api-version
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.api-version
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.auto-create-db
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.auto-create-db
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.bucket
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.bucket
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.compressed
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.compressed
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.consistency
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.consistency
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.db
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.db
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.enabled
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.num-threads
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.num-threads
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.org
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.org
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.password
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.password
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.retention-duration
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.retention-duration
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.retention-policy
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.retention-policy
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.retention-replication-factor
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.retention-replication-factor
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.retention-shard-duration
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.retention-shard-duration
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.step
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.token
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.token
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.uri
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.influx.user-name
                  The property key to rename.
                  newPropertyKey
                  management.influx.metrics.export.user-name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.jmx.domain
                  The property key to rename.
                  newPropertyKey
                  management.jmx.metrics.export.domain
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.jmx.enabled
                  The property key to rename.
                  newPropertyKey
                  management.jmx.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.jmx.step
                  The property key to rename.
                  newPropertyKey
                  management.jmx.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.kairos.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.kairos.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.kairos.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.kairos.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.kairos.enabled
                  The property key to rename.
                  newPropertyKey
                  management.kairos.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.kairos.password
                  The property key to rename.
                  newPropertyKey
                  management.kairos.metrics.export.password
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.kairos.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.kairos.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.kairos.step
                  The property key to rename.
                  newPropertyKey
                  management.kairos.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.kairos.uri
                  The property key to rename.
                  newPropertyKey
                  management.kairos.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.kairos.user-name
                  The property key to rename.
                  newPropertyKey
                  management.kairos.metrics.export.user-name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.account-id
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.account-id
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.api-key
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.api-key
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.client-provider-type
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.client-provider-type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.enabled
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.event-type
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.event-type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.meter-name-event-type-enabled
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.meter-name-event-type-enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.num-threads
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.num-threads
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.step
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.newrelic.uri
                  The property key to rename.
                  newPropertyKey
                  management.newrelic.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.descriptions
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.descriptions
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.enabled
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.histogram-flavor
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.histogram-flavor
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.pushgateway.base-url
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.pushgateway.base-url
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.pushgateway.enabled
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.pushgateway.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.pushgateway.grouping-key
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.pushgateway.grouping-key
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.pushgateway.job
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.pushgateway.job
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.pushgateway.password
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.pushgateway.password
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.pushgateway.push-rate
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.pushgateway.push-rate
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.pushgateway.shutdown-operation
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.pushgateway.shutdown-operation
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.pushgateway.username
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.pushgateway.username
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.prometheus.step
                  The property key to rename.
                  newPropertyKey
                  management.prometheus.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.access-token
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.access-token
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.enabled
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.num-threads
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.num-threads
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.published-histogram-type
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.published-histogram-type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.source
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.source
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.step
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.signalfx.uri
                  The property key to rename.
                  newPropertyKey
                  management.signalfx.metrics.export.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.simple.enabled
                  The property key to rename.
                  newPropertyKey
                  management.simple.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.simple.mode
                  The property key to rename.
                  newPropertyKey
                  management.simple.metrics.export.mode
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.simple.step
                  The property key to rename.
                  newPropertyKey
                  management.simple.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.enabled
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.project-id
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.project-id
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.resource-labels
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.resource-labels
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.resource-type
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.resource-type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.step
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.stackdriver.use-semantic-metric-types
                  The property key to rename.
                  newPropertyKey
                  management.stackdriver.metrics.export.use-semantic-metric-types
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.statsd.enabled
                  The property key to rename.
                  newPropertyKey
                  management.statsd.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.statsd.flavor
                  The property key to rename.
                  newPropertyKey
                  management.statsd.metrics.export.flavor
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.statsd.host
                  The property key to rename.
                  newPropertyKey
                  management.statsd.metrics.export.host
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.statsd.max-packet-length
                  The property key to rename.
                  newPropertyKey
                  management.statsd.metrics.export.max-packet-length
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.statsd.polling-frequency
                  The property key to rename.
                  newPropertyKey
                  management.statsd.metrics.export.polling-frequency
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.statsd.port
                  The property key to rename.
                  newPropertyKey
                  management.statsd.metrics.export.port
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.statsd.protocol
                  The property key to rename.
                  newPropertyKey
                  management.statsd.metrics.export.protocol
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.statsd.publish-unchanged-meters
                  The property key to rename.
                  newPropertyKey
                  management.statsd.metrics.export.publish-unchanged-meters
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.api-token
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.api-token
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.batch-size
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.sender.batch-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.metrics.export.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.enabled
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.metrics.export.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.global-prefix
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.metrics.export.global-prefix
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.num-threads
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.metrics.export.num-threads
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.read-timeout
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.metrics.export.read-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.sender.flush-interval
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.sender.flush-interval
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.sender.max-queue-size
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.sender.max-queue-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.sender.message-size
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.sender.message-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.source
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.source
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.step
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.metrics.export.step
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.export.wavefront.uri
                  The property key to rename.
                  newPropertyKey
                  management.wavefront.uri
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.web.client.request.metric-name
                  The property key to rename.
                  newPropertyKey
                  management.observations.http.client.requests.name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.metrics.web.server.request.metric-name
                  The property key to rename.
                  newPropertyKey
                  management.observations.http.server.requests.name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.trace.http.enabled
                  The property key to rename.
                  newPropertyKey
                  management.httpexchanges.recording.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.trace.http.include
                  The property key to rename.
                  newPropertyKey
                  management.httpexchanges.recording.include
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  management.trace.include
                  The property key to rename.
                  newPropertyKey
                  management.httpexchanges.recording.include
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  server.undertow.allow-encoded-slash
                  The property key to rename.
                  newPropertyKey
                  server.undertow.decode-slash
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.compression
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.compression
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.config
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.config
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.connection.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.connection.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.connection.init-query-timeout
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.connection.init-query-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.contact-points
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.contact-points
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.controlconnection.timeout
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.controlconnection.timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.keyspace-name
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.keyspace-name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.local-datacenter
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.local-datacenter
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.password
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.password
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.pool.heartbeat-interval
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.pool.heartbeat-interval
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.pool.idle-timeout
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.pool.idle-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.pool.max-queue-size
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.throttler.max-queue-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.port
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.port
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.consistency
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.consistency
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.page-size
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.page-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.serial-consistency
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.serial-consistency
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.throttler.drain-interval
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.throttler.drain-interval
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.throttler.max-concurrent-requests
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.throttler.max-concurrent-requests
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.throttler.max-queue-size
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.throttler.max-queue-size
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.throttler.max-requests-per-second
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.throttler.max-requests-per-second
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.throttler.type
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.throttler.type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.request.timeout
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.request.timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.schema-action
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.schema-action
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.session-name
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.session-name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.ssl
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.ssl
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.data.cassandra.username
                  The property key to rename.
                  newPropertyKey
                  spring.cassandra.username
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.liquibase.labels
                  The property key to rename.
                  newPropertyKey
                  spring.liquibase.label-filter
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.client-name
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.client-name
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.client-type
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.client-type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.cluster.max-redirects
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.cluster.max-redirects
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.cluster.nodes
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.cluster.nodes
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.connect-timeout
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.connect-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.database
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.database
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.host
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.host
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.lettuce.cluster.refresh.adaptive
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.lettuce.cluster.refresh.adaptive
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.lettuce.cluster.refresh.dynamic-refresh-sources
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.lettuce.cluster.refresh.dynamic-refresh-sources
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.lettuce.cluster.refresh.period
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.lettuce.cluster.refresh.period
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.lettuce.shutdown-timeout
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.lettuce.shutdown-timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.password
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.password
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.port
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.port
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.sentinel.master
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.sentinel.master
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.sentinel.nodes
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.sentinel.nodes
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.sentinel.password
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.sentinel.password
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.sentinel.username
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.sentinel.username
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.ssl
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.ssl
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.timeout
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.timeout
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.url
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.url
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.redis.username
                  The property key to rename.
                  newPropertyKey
                  spring.data.redis.username
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.export.atlas.num-threads
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.graphql.autotime.enabled
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.graphql.autotime.percentiles
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.graphql.autotime.percentiles-histogram
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.web.client.request.autotime.enabled
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.web.client.request.autotime.percentiles
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.web.client.request.autotime.percentiles-histogram
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.web.server.request.autotime.enabled
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.web.server.request.autotime.percentiles
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.web.server.request.autotime.percentiles-histogram
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Should be applied at the ObservationRegistry level.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  management.metrics.web.server.request.ignore-trailing-slash
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Not needed anymore, direct instrumentation in Spring MVC.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  server.max-http-header-size
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  server.netty.max-chunk-size
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Deprecated for removal in Reactor Netty
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  server.servlet.session.cookie.comment
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.banner.image.bitdepth
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Support for image banners has been removed.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.banner.image.height
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Support for image banners has been removed.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.banner.image.invert
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Support for image banners has been removed.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.banner.image.location
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Support for image banners has been removed.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.banner.image.margin
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Support for image banners has been removed.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.banner.image.pixelmode
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Support for image banners has been removed.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.banner.image.width
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Support for image banners has been removed.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.elasticsearch.webclient.max-in-memory-size
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Reactive Elasticsearch client no longer uses WebClient.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.flyway.baseline-migration-prefix
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Removed in Flyway 9.0
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.jpa.hibernate.use-new-id-generator-mappings
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Hibernate no longer supports disabling the use of new ID generator mappings.
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.mvc.date-format
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.mvc.ignore-default-model-on-redirect
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Deprecated for removal in Spring MVC
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.jedis.pool.enabled
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.jedis.pool.max-active
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.jedis.pool.max-idle
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.jedis.pool.max-wait
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.jedis.pool.min-idle
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.jedis.pool.time-between-eviction-runs
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.lettuce.pool.enabled
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.lettuce.pool.max-active
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.lettuce.pool.max-idle
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.lettuce.pool.max-wait
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.lettuce.pool.min-idle
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.redis.lettuce.pool.time-between-eviction-runs
                  The name of the property key to comment out.
                  comment
                  This property is deprecated and will be removed in future Spring Boot versions
                  Comment to replace the property key.

                  Depth: 8

                • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                  Name

                  Comment out Spring properties

                  Description

                  Add comment to specified Spring properties, and comment out the property.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.webflux.multipart.streaming
                  The name of the property key to comment out.
                  comment
                  This property is deprecated: Replaced by the PartEventHttpMessageReader and the PartEvent API.
                  Comment to replace the property key.

                  Depth: 8

              • org.openrewrite.java.spring.boot3.MigrateThymeleafDependencies

                Name

                Migrate thymeleaf dependencies to Spring Boot 3.x

                Description

                Migrate thymeleaf dependencies to the new artifactId, since these are changed with Spring Boot 3.

                Depth: 7

                Included recipes

                • org.openrewrite.java.ChangePackage

                  Name

                  Rename package name

                  Description

                  A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                  Used Parameters

                  Name Value Description
                  oldPackageName
                  org.thymeleaf.spring5
                  The package name to replace.
                  newPackageName
                  org.thymeleaf.spring6
                  New package name to replace the old package name with.
                  recursive
                  true
                  Recursively change subpackage names

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.thymeleaf
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  thymeleaf-spring5
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  thymeleaf-spring6
                  The new artifact ID to use. Defaults to the existing artifact ID.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.thymeleaf.extras
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  thymeleaf-extras-springsecurity5
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  thymeleaf-extras-springsecurity6
                  The new artifact ID to use. Defaults to the existing artifact ID.

                  Depth: 8

              • org.openrewrite.java.spring.boot3.MigrateDropWizardDependencies

                Name

                Migrate dropWizard dependencies to Spring Boot 3.x

                Description

                Migrate dropWizard dependencies to the new artifactId, since these are changed with Spring Boot 3.

                Depth: 7

                Included recipes

                • org.openrewrite.java.ChangePackage

                  Name

                  Rename package name

                  Description

                  A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                  Used Parameters

                  Name Value Description
                  oldPackageName
                  com.codahale.metrics.servlet
                  The package name to replace.
                  newPackageName
                  io.dropwizard.metrics.servlet
                  New package name to replace the old package name with.

                  Depth: 8

                • org.openrewrite.java.ChangePackage

                  Name

                  Rename package name

                  Description

                  A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                  Used Parameters

                  Name Value Description
                  oldPackageName
                  com.codahale.metrics.servlets
                  The package name to replace.
                  newPackageName
                  io.dropwizard.metrics.servlets
                  New package name to replace the old package name with.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  io.dropwizard.metrics
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  metrics-servlet
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  metrics-jakarta-servlet
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  4.2.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  io.dropwizard.metrics
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  metrics-servlets
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  metrics-jakarta-servlets
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  4.2.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.java.spring.boot3.RemoveSolrAutoConfigurationExclude

                Name

                Remove `SolrAutoConfiguration`

                Description

                `SolrAutoConfiguration` was removed in Spring Boot 3; remove references to it from exclusions on annotations.

                Depth: 7

              • org.openrewrite.java.spring.boot3.MigrateWebMvcTagsToObservationConvention

                Name

                Migrate `WebMvcTagsProvider` to `DefaultServerRequestObservationConvention`

                Description

                Migrate `WebMvcTagsProvider` to `DefaultServerRequestObservationConvention` as part of Spring Boot 3.2 removals.

                Depth: 7

              • org.openrewrite.java.spring.framework.BeanMethodReturnNull

                Name

                `@Bean` methods may not return `void`

                Description

                Make `@Bean` methods return `Object` instead of `void`.

                Depth: 7

              • org.openrewrite.java.spring.batch.SpringBatch4To5Migration

                Name

                Migrate to Spring Batch 5.0 from 4.3

                Description

                Migrate applications built on Spring Batch 4.3 to the latest Spring Batch 5.0 release.

                Depth: 7

                Included recipes

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.batch
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  5.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.spring.batch.ListenerSupportClassToInterface

                  Name

                  Transform classes that extend `*ListenerSupport` to implement the `*Listener` interfaces instead

                  Description

                  As of 5.0 `*Listener` interfaces default methods (made possible by a Java 8 baseline) can be implemented directly without the need for the adapter.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface

                    Name

                    Transform classes that extend a given Class to implement the given Interface instead

                    Description

                    As of spring-batch 5.x Listeners has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                    Used Parameters

                    Name Value Description
                    fullyQualifiedClassName
                    org.springframework.batch.core.listener.JobExecutionListenerSupport
                    A fully-qualified class name to be replaced.
                    fullyQualifiedInterfaceName
                    org.springframework.batch.core.JobExecutionListener
                    A fully-qualified Interface name to replace by.

                    Depth: 9

                  • org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface

                    Name

                    Transform classes that extend a given Class to implement the given Interface instead

                    Description

                    As of spring-batch 5.x Listeners has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                    Used Parameters

                    Name Value Description
                    fullyQualifiedClassName
                    org.springframework.batch.core.listener.StepExecutionListenerSupport
                    A fully-qualified class name to be replaced.
                    fullyQualifiedInterfaceName
                    org.springframework.batch.core.StepExecutionListener
                    A fully-qualified Interface name to replace by.

                    Depth: 9

                  • org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface

                    Name

                    Transform classes that extend a given Class to implement the given Interface instead

                    Description

                    As of spring-batch 5.x Listeners has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                    Used Parameters

                    Name Value Description
                    fullyQualifiedClassName
                    org.springframework.batch.core.listener.ChunkListenerSupport
                    A fully-qualified class name to be replaced.
                    fullyQualifiedInterfaceName
                    org.springframework.batch.core.ChunkListener
                    A fully-qualified Interface name to replace by.

                    Depth: 9

                  • org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface

                    Name

                    Transform classes that extend a given Class to implement the given Interface instead

                    Description

                    As of spring-batch 5.x Listeners has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                    Used Parameters

                    Name Value Description
                    fullyQualifiedClassName
                    org.springframework.batch.core.listener.SkipListenerSupport
                    A fully-qualified class name to be replaced.
                    fullyQualifiedInterfaceName
                    org.springframework.batch.core.SkipListener
                    A fully-qualified Interface name to replace by.

                    Depth: 9

                  • org.openrewrite.java.spring.batch.ReplaceSupportClassWithItsInterface

                    Name

                    Transform classes that extend a given Class to implement the given Interface instead

                    Description

                    As of spring-batch 5.x Listeners has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                    Used Parameters

                    Name Value Description
                    fullyQualifiedClassName
                    org.springframework.batch.repeat.listener.RepeatListenerSupport
                    A fully-qualified class name to be replaced.
                    fullyQualifiedInterfaceName
                    org.springframework.batch.repeat.RepeatListener
                    A fully-qualified Interface name to replace by.

                    Depth: 9

                • org.openrewrite.java.spring.batch.MigrateJobBuilderFactory

                  Name

                  Migrate `JobBuilderFactory` to `JobBuilder`

                  Description

                  `JobBuilderFactory` was deprecated in spring-batch 5.x. It is replaced by `JobBuilder`.

                  Depth: 8

                • org.openrewrite.java.spring.batch.MigrateStepBuilderFactory

                  Name

                  Migrate `StepBuilderFactory` to `StepBuilder`

                  Description

                  `StepBuilderFactory` was deprecated in spring-batch 5.x. It is replaced by `StepBuilder`.

                  Depth: 8

                • org.openrewrite.java.spring.batch.MigrateItemWriterWrite

                  Name

                  Migrate `ItemWriter`

                  Description

                  `JobBuilderFactory` was deprecated in spring-batch 5.x: replaced by `JobBuilder`.

                  Depth: 8

                • org.openrewrite.java.spring.batch.RemoveDefaultBatchConfigurer

                  Name

                  Remove `DefaultBatchConfigurer`

                  Description

                  Remove `extends DefaultBatchConfigurer` and `@Override` from associated methods.

                  Depth: 8

                • org.openrewrite.java.spring.batch.UpgradeSkipPolicyParameterType

                  Name

                  Change the type of `skipCount` parameter in `SkipPolicy` from `int` to `long`

                  Description

                  The `skipCount` parameter in `org.springframework.batch.core.step.skip.SkipPolicy#shouldSkip` has been changed from `int` to `long`, this recipe updates the parameter type in the implementing classes.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.ChangeMethodParameter

                    Name

                    Change parameter type for a method declaration

                    Description

                    Change parameter type for a method declaration, identified by a method pattern.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.batch.core.step.skip.SkipPolicy shouldSkip(java.lang.Throwable, int)
                    A method pattern that is used to find the method declarations to modify.
                    parameterType
                    long
                    The new type of the parameter that gets updated.
                    parameterIndex
                    1
                    A zero-based index that indicates the position at which the parameter will be added.

                    Depth: 9

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.batch.core.metrics.BatchMetrics
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springframework.batch.core.observability.BatchMetrics
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.batch.core.step.item.Chunk
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springframework.batch.item.Chunk
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.batch.core.configuration.annotation.ScopeConfiguration
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springframework.batch.core.configuration.support.ScopeConfiguration
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

              • org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_0

                Name

                Migrate to Spring Framework 6.0

                Description

                Migrate applications to the latest Spring Framework 6.0 release.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_3

                  Name

                  Migrate to Spring Framework 5.3

                  Description

                  Migrate applications to the latest Spring Framework 5.3 release.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_2

                    Name

                    Migrate to Spring Framework 5.2

                    Description

                    Migrate applications to the latest Spring Framework 5.2 release.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_1

                      Name

                      Migrate to Spring Framework 5.1

                      Description

                      Migrate applications to the latest Spring Framework 5.1 release.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_0

                        Name

                        Migrate to Spring Framework 5.0

                        Description

                        Migrate applications to the latest Spring Framework 5.0 release.

                        Depth: 11

                        Included recipes

                        • org.openrewrite.java.spring.framework.MigrateWebMvcConfigurerAdapter

                          Name

                          Replace `WebMvcConfigurerAdapter` with `WebMvcConfigurer`

                          Description

                          As of 5.0 `WebMvcConfigurer` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                          Depth: 12

                        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                          Name

                          Upgrade Gradle or Maven dependency versions

                          Description

                          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springframework.security
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          *
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          newVersion
                          5.0.x
                          An exact version number or node-style semver selector used to select the version number.
                          overrideManagedVersion
                          false
                          For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                          Depth: 12

                        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                          Name

                          Upgrade Gradle or Maven dependency versions

                          Description

                          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                          Used Parameters

                          Name Value Description
                          groupId
                          org.springframework
                          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          artifactId
                          *
                          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                          newVersion
                          5.0.x
                          An exact version number or node-style semver selector used to select the version number.

                          Depth: 12

                      • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                        Name

                        Upgrade Gradle or Maven dependency versions

                        Description

                        For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        artifactId
                        *
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        newVersion
                        5.1.x
                        An exact version number or node-style semver selector used to select the version number.

                        Depth: 11

                      • org.openrewrite.java.spring.framework.EnvironmentAcceptsProfiles

                        Name

                        Use `Environment#acceptsProfiles(Profiles)`

                        Description

                        `Environment#acceptsProfiles(String...)` was deprecated in Spring Framework 5.1.

                        Depth: 11

                      • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                        Name

                        Upgrade Gradle or Maven dependency versions

                        Description

                        For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework.security
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        artifactId
                        *
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        newVersion
                        5.1.x
                        An exact version number or node-style semver selector used to select the version number.
                        overrideManagedVersion
                        false
                        For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                        Depth: 11

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        org.springframework.beans.factory.annotation.Required
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        org.springframework.beans.factory.annotation.Autowired
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.
                        ignoreDefinition
                        true
                        When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                        Depth: 11

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      *
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      5.2.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.spring.framework.MigrateUtf8MediaTypes

                      Name

                      Migrate deprecated Spring Web UTF8 `MediaType` enums

                      Description

                      Spring Web `MediaType#APPLICATION_JSON_UTF8` and `MediaType#APPLICATION_PROBLEM_JSON_UTF8` were deprecated in 5.2.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework.security
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      *
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      5.2.x
                      An exact version number or node-style semver selector used to select the version number.
                      overrideManagedVersion
                      false
                      For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                      Depth: 10

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.3.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.security
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.3.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.spring.framework.UseObjectUtilsIsEmpty

                    Name

                    Use `ObjectUtils#isEmpty(Object)`

                    Description

                    `StringUtils#isEmpty(Object)` was deprecated in 5.3.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangeMethodTargetToStatic

                      Name

                      Change method target to static

                      Description

                      Change method invocations to static method calls.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.springframework.util.StringUtils isEmpty(Object)
                      A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                      fullyQualifiedTargetTypeName
                      org.springframework.util.ObjectUtils
                      A fully-qualified class name of the type upon which the static method is defined.

                      Depth: 10

                  • org.openrewrite.java.spring.framework.MigrateHandlerInterceptor

                    Name

                    Migrate `HandlerInterceptorAdapter` to `HandlerInterceptor`

                    Description

                    Deprecated as of 5.3 in favor of implementing `HandlerInterceptor` and/or `AsyncHandlerInterceptor`.

                    Depth: 9

                  • org.openrewrite.java.spring.framework.MigrateInstantiationAwareBeanPostProcessorAdapter

                    Name

                    Convert `InstantiationAwareBeanPostProcessorAdapter` to `SmartInstantiationAwareBeanPostProcessor`

                    Description

                    As of Spring-Framework 5.3 `InstantiationAwareBeanPostProcessorAdapter` is deprecated in favor of the existing default methods in `SmartInstantiationAwareBeanPostProcessor`.

                    Depth: 9

                  • org.openrewrite.java.spring.framework.JdbcTemplateObjectArrayArgToVarArgs

                    Name

                    Use varargs equivalents for deprecated JdbcTemplate signatures

                    Description

                    `JdbcTemplate` signatures with `Object[]` arguments are deprecated, in favor of their existing varargs equivalents.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.hibernate
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    hibernate-search-orm
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.11.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.dependencies.RemoveDependency

                    Name

                    Remove a Gradle or Maven dependency

                    Description

                    For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.aspectj
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    aspectjrt
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    unlessUsing
                    org.aspectj.lang.annotation.*
                    Do not remove if type is in use. Supports glob expressions.

                    Depth: 9

                  • org.openrewrite.java.dependencies.RemoveDependency

                    Name

                    Remove a Gradle or Maven dependency

                    Description

                    For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                    Used Parameters

                    Name Value Description
                    groupId
                    aopalliance
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    aopalliance
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    unlessUsing
                    org.aopalliance.aop.*
                    Do not remove if type is in use. Supports glob expressions.

                    Depth: 9

                  • org.openrewrite.java.dependencies.RemoveDependency

                    Name

                    Remove a Gradle or Maven dependency

                    Description

                    For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                    Used Parameters

                    Name Value Description
                    groupId
                    cglib
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    cglib
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    unlessUsing
                    net.sf.cglib.core.*
                    Do not remove if type is in use. Supports glob expressions.

                    Depth: 9

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  6.0.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.spring.framework.MigrateSpringAssert

                  Name

                  Migrate removed Spring `Assert` methods

                  Description

                  Assert methods without a message argument have been removed in Spring Framework 6.0.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert state(boolean)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must be true
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert isTrue(boolean)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must be true
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert isNull(java.lang.Object)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must be null
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert notNull(java.lang.Object)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must not be null
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert hasLength(java.lang.String)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must have length; it must not be null or empty
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert hasText(java.lang.String)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must have text; it must not be null, empty, or blank
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert doesNotContain(java.lang.String, java.lang.String)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    2
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must not contain the substring
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert notEmpty(java.lang.Object[])
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must not be empty
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert noNullElements(java.lang.Object[])
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must not contain any null elements
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert noNullElements(java.util.Collection)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must not be empty
                    The literal value that we add the argument for.

                    Depth: 9

                  • org.openrewrite.java.AddLiteralMethodArgument

                    Name

                    Add a literal method argument

                    Description

                    Add a literal `String` or `int` argument to method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.Assert notEmpty(java.util.Map)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    1
                    A zero-based index that indicates which argument will be added as null to the method invocation.
                    literal
                    must not be empty
                    The literal value that we add the argument for.

                    Depth: 9

                • org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5

                  Name

                  Migrate to ApacheHttpClient 5.x

                  Description

                  Migrate applications to the latest Apache HttpClient 5.x release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.apache.httpclient4.UpgradeApacheHttpClient_4_5

                    Name

                    Migrates to ApacheHttpClient 4.5.x

                    Description

                    Migrate applications to the latest Apache HttpClient 4.5.x release. This recipe modifies application's build files, make changes to deprecated/preferred APIs, and migrates configuration settings that have changes between versions.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.apache.httpcomponents
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      httpclient
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      4.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.apache.httpclient4.MappingDeprecatedClasses

                      Name

                      Maps deprecated classes from Apache HttpClient 4.5.x to suggested replacements

                      Description

                      Uses new classes/methods instead of the deprecated ones

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                        Name

                        Replace constant with another constant

                        Description

                        Replace a constant with another constant, adding/removing import on class if needed.

                        Used Parameters

                        Name Value Description
                        existingFullyQualifiedConstantName
                        org.apache.http.client.params.CookiePolicy.RFC_2109
                        fullyQualifiedConstantName
                        org.apache.http.client.config.CookieSpecs.STANDARD

                        Depth: 11

                      • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                        Name

                        Replace constant with another constant

                        Description

                        Replace a constant with another constant, adding/removing import on class if needed.

                        Used Parameters

                        Name Value Description
                        existingFullyQualifiedConstantName
                        org.apache.http.client.params.CookiePolicy.RFC_2965
                        fullyQualifiedConstantName
                        org.apache.http.client.config.CookieSpecs.STANDARD_STRICT

                        Depth: 11

                      • org.openrewrite.java.ChangeType

                        Name

                        Change type

                        Description

                        Change a given type to another.

                        Used Parameters

                        Name Value Description
                        oldFullyQualifiedTypeName
                        org.apache.http.client.params.CookiePolicy
                        Fully-qualified class name of the original type.
                        newFullyQualifiedTypeName
                        org.apache.http.client.config.CookieSpecs
                        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                        Depth: 11

                      • org.openrewrite.apache.httpclient4.MigrateDefaultHttpClient

                        Name

                        Migrates deprecated `DefaultHttpClient`

                        Description

                        Since `DefaultHttpClient` is deprecated, we need to change it to the `CloseableHttpClient`. It only covers the default scenario with no custom `HttpParams` or `ConnectionManager`. Of note: the `DefaultHttpClient` [does not support TLS 1.2](https://find-sec-bugs.github.io/bugs.htm#DEFAULT_HTTP_CLIENT). References: - [Find Sec Bugs](https://find-sec-bugs.github.io/bugs.htm#DEFAULT_HTTP_CLIENT) - [IBM Support Pages](https://www.ibm.com/support/pages/im-using-apache-httpclient-make-outbound-call-my-web-application-running-websphere-application-server-traditional-and-im-getting-ssl-handshake-error-how-can-i-debug)

                        Depth: 11

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.apache.httpcomponents
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    httpclient
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    org.apache.httpcomponents.client5
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    httpclient5
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    5.4.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.apache.httpcomponents
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    httpcore
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    org.apache.httpcomponents.core5
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    httpcore5
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    5.3.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.apache.httpclient5.MigrateRequestConfig

                    Name

                    Migrate `RequestConfig` to httpclient5

                    Description

                    Migrate `RequestConfig` to httpclient5.

                    Depth: 9

                  • org.openrewrite.apache.httpclient5.UsernamePasswordCredentials

                    Name

                    Migrate `UsernamePasswordCredentials` to httpclient5

                    Description

                    Change the password argument going into `UsernamePasswordCredentials` to be a `char[]`.

                    Depth: 9

                  • org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5_ClassMapping

                    Name

                    Migrate to ApacheHttpClient 5.x Classes Namespace from 4.x

                    Description

                    Mapping of all the compatible classes of ApacheHttpClient 5.x from 4.x.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.client.methods
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.classic.methods
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.classic.methods.CloseableHttpResponse
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.CloseableHttpResponse
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.client.entity
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.entity
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.client.protocol
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.protocol
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.conn.socket
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.socket
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.ssl
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.ssl
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.concurrent
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.concurrent
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.impl.auth
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.impl.auth
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.impl.cookie
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.impl.cookie
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.cookie.PublicSuffixListParser
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.psl.PublicSuffixListParser
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.cookie.DateUtils
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.utils.DateUtils
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.impl.client
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.impl.classic
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.impl.client.BasicAuthCache
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.auth.BasicAuthCache
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.BasicAuthCache
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.auth.BasicAuthCache
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.HttpAuthenticator
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.auth.HttpAuthenticator
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.SystemDefaultCredentialsProvider
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.auth.SystemDefaultCredentialsProvider
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.DefaultClientConnectionReuseStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.DefaultClientConnectionReuseStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.DefaultRedirectStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.DefaultRedirectStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.RedirectLocations
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.protocol.RedirectLocations
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.BasicCookieStore
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.cookie.BasicCookieStore
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.DefaultConnectionKeepAliveStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.DefaultConnectionKeepAliveStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.IdleConnectionEvictor
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.IdleConnectionEvictor
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.TunnelRefusedException
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.TunnelRefusedException
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.NoopUserTokenHandler
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.NoopUserTokenHandler
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.DefaultUserTokenHandler
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.DefaultUserTokenHandler
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.BasicCredentialsProvider
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.auth.BasicCredentialsProvider
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.impl.client.ProxyAuthenticationStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.DefaultAuthenticationStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.auth
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.auth
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.cookie
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.cookie
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.cookie
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.cookie
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.annotation
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.annotation
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.client.config
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.config
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                      Name

                      Replace constant with another constant

                      Description

                      Replace a constant with another constant, adding/removing import on class if needed.

                      Used Parameters

                      Name Value Description
                      existingFullyQualifiedConstantName
                      org.apache.hc.client5.http.config.CookieSpecs.IGNORE_COOKIES
                      fullyQualifiedConstantName
                      org.apache.hc.client5.http.cookie.StandardCookieSpec.IGNORE

                      Depth: 10

                    • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                      Name

                      Replace constant with another constant

                      Description

                      Replace a constant with another constant, adding/removing import on class if needed.

                      Used Parameters

                      Name Value Description
                      existingFullyQualifiedConstantName
                      org.apache.hc.client5.http.config.CookieSpecs.STANDARD
                      fullyQualifiedConstantName
                      org.apache.hc.client5.http.cookie.StandardCookieSpec.RELAXED

                      Depth: 10

                    • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                      Name

                      Replace constant with another constant

                      Description

                      Replace a constant with another constant, adding/removing import on class if needed.

                      Used Parameters

                      Name Value Description
                      existingFullyQualifiedConstantName
                      org.apache.hc.client5.http.config.CookieSpecs.STANDARD_STRICT
                      fullyQualifiedConstantName
                      org.apache.hc.client5.http.cookie.StandardCookieSpec.STRICT

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.annotation
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.annotation
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.entity
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http.io.entity
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.entity.ContentLengthStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.ContentLengthStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.entity.ContentType
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.ContentType
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.impl.bootstrap
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http.impl.bootstrap
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.impl.execchain
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.impl.classic
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.classic.TunnelRefusedException
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.TunnelRefusedException
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.impl.io
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http.impl.io
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.io.DefaultHttpResponseParserFactory
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.DefaultHttpResponseParserFactory
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.io
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http.io
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.message
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http.message
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.pool
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.pool
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.protocol
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http.protocol
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.protocol.HttpService
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.io.HttpService
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.protocol.HttpRequestExecutor
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.io.HttpRequestExecutor
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.protocol.HttpRequestHandler
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.HttpRequestHandler
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.util
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.util
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.util.EntityUtils
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.entity.EntityUtils
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.client.utils.URIBuilder
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.net.URIBuilder
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.client.utils.URLEncodedUtils
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.net.URLEncodedUtils
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.client.utils.URIUtils
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.utils.URIUtils
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.client.utils.DateUtils
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.utils.DateUtils
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.client
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.CredentialsProvider
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.auth.CredentialsProvider
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.AuthCache
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.auth.AuthCache
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.BackoffManager
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.classic.BackoffManager
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.HttpClient
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.classic.HttpClient
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.ConnectionBackoffStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.classic.ConnectionBackoffStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.CookieStore
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.cookie.CookieStore
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.RedirectStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.protocol.RedirectStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.classic.methods.RequestBuilder
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.support.ClassicRequestBuilder
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.config
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http.config
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.config.SocketConfig
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.SocketConfig
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.config.SocketConfig.Builder
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.SocketConfig.Builder
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.impl
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http.impl.io
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.io.EnglishReasonPhraseCatalog
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.EnglishReasonPhraseCatalog
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.io.DefaultConnectionReuseStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.DefaultConnectionReuseStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.io.DefaultHttpRequestFactory
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.nio.DefaultHttpRequestFactory
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.io.DefaultHttpResponseFactory
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.nio.DefaultHttpResponseFactory
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.conn.util
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.psl
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.psl.DnsUtils
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.utils.DnsUtils
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.psl.InetAddressUtils
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.net.InetAddressUtils
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.conn.routing
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.BasicRouteDirector
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.routing.BasicRouteDirector
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.HttpRouteDirector
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.routing.HttpRouteDirector
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.HttpRoutePlanner
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.routing.HttpRoutePlanner
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.conn.ssl
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.ssl
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.ssl.SSLConnectionSocketFactory
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.ssl.NoopHostnameVerifier
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.ssl.NoopHostnameVerifier
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.ssl.DefaultHostnameVerifier
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.ssl.DefaultHostnameVerifier
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.ssl.TrustSelfSignedStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.ssl.TrustSelfSignedStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.ssl.TrustAllStrategy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.ssl.TrustAllStrategy
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.ssl.SubjectName
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.ssl.SubjectName
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.impl.conn
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http.impl.io
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.SystemDefaultDnsResolver
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.SystemDefaultDnsResolver
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.Wire
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.Wire
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.InMemoryDnsResolver
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.InMemoryDnsResolver
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.ConnectionShutdownException
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.ConnectionShutdownException
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.DefaultSchemePortResolver
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.DefaultSchemePortResolver
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.DefaultProxyRoutePlanner
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.routing.DefaultProxyRoutePlanner
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.DefaultRoutePlanner
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.routing.DefaultRoutePlanner
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.SystemDefaultRoutePlanner
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.routing.SystemDefaultRoutePlanner
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.DefaultHttpResponseParser
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.impl.io.DefaultHttpResponseParser
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.PoolingClientConnectionManager
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.SchemeRegistryFactory
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.impl.DefaultSchemePortResolver
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http.conn
                      The package name to replace.
                      newPackageName
                      org.apache.hc.client5.http
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.ManagedHttpClientConnection
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.io.ManagedHttpClientConnection
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.HttpClientConnectionManager
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.io.HttpClientConnectionManager
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.HttpClientConnectionOperator
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.client5.http.io.HttpClientConnectionOperator
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.EofSensorWatcher
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.EofSensorWatcher
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.EofSensorInputStream
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.EofSensorInputStream
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.client5.http.HttpConnectionFactory
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.HttpConnectionFactory
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      org.apache.http
                      The package name to replace.
                      newPackageName
                      org.apache.hc.core5.http
                      New package name to replace the old package name with.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.RequestLine
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.message.RequestLine
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.RequestLine
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.message.RequestLine
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.HttpClientConnection
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.HttpClientConnection
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.StatusLine
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.message.StatusLine
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.HttpServerConnection
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.HttpServerConnection
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.hc.core5.http.HttpConnectionFactory
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.io.HttpConnectionFactory
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.HttpRequest
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.ClassicHttpRequest
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.HttpResponse
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.hc.core5.http.ClassicHttpResponse
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ReorderMethodArguments

                      Name

                      Reorder method arguments

                      Description

                      Reorder method arguments into the specified order.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.core5.http.HttpHost (java.lang.String, int, java.lang.String)
                      A method pattern that is used to find matching method invocations.
                      newParameterNames
                      [Ljava.lang.String;@47b7f1f4
                      An array of parameter names that indicates the new order in which those arguments should be arranged.
                      oldParameterNames
                      [Ljava.lang.String;@4d6c26e6
                      If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

                      Depth: 10

                    • org.openrewrite.java.ReorderMethodArguments

                      Name

                      Reorder method arguments

                      Description

                      Reorder method arguments into the specified order.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.core5.http.HttpHost (java.net.InetAddress, int, java.lang.String)
                      A method pattern that is used to find matching method invocations.
                      newParameterNames
                      [Ljava.lang.String;@21deb63c
                      An array of parameter names that indicates the new order in which those arguments should be arranged.
                      oldParameterNames
                      [Ljava.lang.String;@2bf11136
                      If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

                      Depth: 10

                    • org.openrewrite.java.ReorderMethodArguments

                      Name

                      Reorder method arguments

                      Description

                      Reorder method arguments into the specified order.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.core5.http.HttpHost (java.net.InetAddress, java.lang.String, int, java.lang.String)
                      A method pattern that is used to find matching method invocations.
                      newParameterNames
                      [Ljava.lang.String;@53b17ded
                      An array of parameter names that indicates the new order in which those arguments should be arranged.
                      oldParameterNames
                      [Ljava.lang.String;@7f463a6b
                      If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

                      Depth: 10

                  • org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5_DeprecatedMethods

                    Name

                    Migrate to ApacheHttpClient 5.x deprecated methods from 4.x

                    Description

                    Migrates deprecated methods to their equivalent ones in 5.x

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangeMethodName

                      Name

                      Change method name

                      Description

                      Rename a method.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.client5.http.config.RequestConfig.Builder setSocketTimeout(int)
                      A method pattern that is used to find matching method declarations/invocations.
                      newMethodName
                      setResponseTimeout
                      The method name that will replace the existing name.

                      Depth: 10

                  • org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5_TimeUnit

                    Name

                    Adds `TimeUnit` to timeouts and duration methods

                    Description

                    Apache HttpClient 5.x Timeout and duration methods need an extra the TimeUnit argument. This recipe uses milliseconds as a default unit.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                      Name

                      Adds a TimeUnit argument to the matched method invocations

                      Description

                      In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.client5.http.config.RequestConfig.Builder setConnectionRequestTimeout(int)
                      A method pattern that is used to find matching method invocations.

                      Depth: 10

                    • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                      Name

                      Adds a TimeUnit argument to the matched method invocations

                      Description

                      In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.client5.http.config.RequestConfig.Builder setConnectTimeout(int)
                      A method pattern that is used to find matching method invocations.

                      Depth: 10

                    • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                      Name

                      Adds a TimeUnit argument to the matched method invocations

                      Description

                      In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.client5.http.config.RequestConfig.Builder setResponseTimeout(int)
                      A method pattern that is used to find matching method invocations.

                      Depth: 10

                    • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                      Name

                      Adds a TimeUnit argument to the matched method invocations

                      Description

                      In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.core5.http.io.SocketConfig.Builder setSoLinger(int)
                      A method pattern that is used to find matching method invocations.

                      Depth: 10

                    • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                      Name

                      Adds a TimeUnit argument to the matched method invocations

                      Description

                      In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.apache.hc.core5.http.io.SocketConfig.Builder setSoTimeout(int)
                      A method pattern that is used to find matching method invocations.

                      Depth: 10

                  • org.openrewrite.apache.httpclient5.StatusLine

                    Name

                    Migrate to ApacheHttpClient 5.x deprecated methods from 4.x

                    Description

                    Migrates deprecated methods to their equivalent ones in 5.x

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.SimplifyMethodChain

                      Name

                      Simplify a call chain

                      Description

                      Simplify `a.b().c()` to `a.d()`.

                      Used Parameters

                      Name Value Description
                      methodPatternChain
                      [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getStatusCode()]
                      A list of method patterns that are called in sequence
                      newMethodName
                      getCode
                      The method name that will replace the existing name. The new method name target is assumed to have the same arguments as the last method in the chain.

                      Depth: 10

                    • org.openrewrite.java.SimplifyMethodChain

                      Name

                      Simplify a call chain

                      Description

                      Simplify `a.b().c()` to `a.d()`.

                      Used Parameters

                      Name Value Description
                      methodPatternChain
                      [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getReasonPhrase()]
                      A list of method patterns that are called in sequence
                      newMethodName
                      getReasonPhrase
                      The method name that will replace the existing name. The new method name target is assumed to have the same arguments as the last method in the chain.

                      Depth: 10

                    • org.openrewrite.java.SimplifyMethodChain

                      Name

                      Simplify a call chain

                      Description

                      Simplify `a.b().c()` to `a.d()`.

                      Used Parameters

                      Name Value Description
                      methodPatternChain
                      [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getProtocolVersion()]
                      A list of method patterns that are called in sequence
                      newMethodName
                      getVersion
                      The method name that will replace the existing name. The new method name target is assumed to have the same arguments as the last method in the chain.

                      Depth: 10

                    • org.openrewrite.apache.httpclient5.NewStatusLine

                      Name

                      Replaces deprecated `HttpResponse::getStatusLine()`

                      Description

                      `HttpResponse::getStatusLine()` was deprecated in 4.x, so we replace it for `new StatusLine(HttpResponse)`. Ideally we will try to simplify method chains for `getStatusCode`, `getProtocolVersion` and `getReasonPhrase`, but there are some scenarios where the `StatusLine` object is assigned or used directly, and we need to instantiate the object.

                      Depth: 10

                  • org.openrewrite.apache.httpclient5.MigrateAuthScope

                    Name

                    Replaces `AuthScope.ANY`

                    Description

                    Replace removed constant `org.apache.http.auth.AuthScope.AuthScope.ANY` with `new org.apache.hc.client5.http.auth.AuthScope(null, -1)`

                    Depth: 9

                • org.openrewrite.java.spring.framework.HttpComponentsClientHttpRequestFactoryReadTimeout

                  Name

                  Migrate `setReadTimeout(java.lang.int)` to SocketConfig `setSoTimeout(..)`

                  Description

                  `setReadTimeout(..)` was removed in Spring Framework 6.1.

                  Depth: 8

                • org.openrewrite.java.spring.framework.MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode

                  Name

                  Migrate `ResponseEntityExceptionHandler` from HttpStatus to HttpStatusCode

                  Description

                  With Spring 6 `HttpStatus` was replaced by `HttpStatusCode` in most method signatures in the `ResponseEntityExceptionHandler`.

                  Depth: 8

                • org.openrewrite.java.spring.framework.MigrateResponseStatusException

                  Name

                  Migrate breaking changes in `ResponseStatusException`

                  Description

                  Migrate Spring Framework 5.3's `ResponseStatusException` method `getRawStatusCode()` to Spring Framework 6's `getStatusCode().value()` and `ResponseStatusException` method `getStatus()` to Spring Framework 6's `getStatusCode()` .

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.framework.MigrateResponseStatusExceptionGetRawStatusCodeMethod

                    Name

                    Migrate `ResponseStatusException#getRawStatusCode()` to `getStatusCode().value()`

                    Description

                    Migrate Spring Framework 5.3's `ResponseStatusException` method `getRawStatusCode()` to Spring Framework 6's `getStatusCode().value()`.

                    Depth: 9

                  • org.openrewrite.java.spring.framework.MigrateResponseStatusExceptionGetStatusCodeMethod

                    Name

                    Migrate `ResponseStatusException#getStatus()` to `getStatusCode()`

                    Description

                    Migrate Spring Framework 5.3's `ResponseStatusException` method `getStatus()` to Spring Framework 6's `getStatusCode()`.

                    Depth: 9

              • org.openrewrite.java.spring.kafka.UpgradeSpringKafka_3_0

                Name

                Migrate to Spring Kafka 3.0

                Description

                Migrate applications to the latest Spring Kafka 3.0 release.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.kafka.KafkaOperationsSendReturnType

                  Name

                  Change `KafkaOperations.send*` return type to `CompletableFuture`

                  Description

                  Send operations used to return a `ListenableFuture` but as of 3.0 return a `CompletableFuture`. Adjust the usage to use `CompletableFuture` instead.

                  Depth: 8

                • org.openrewrite.java.spring.kafka.KafkaTestUtilsDuration

                  Name

                  Use `Duration` in `KafkaTestUtils`

                  Description

                  Replace `KafkaTestUtils` methods that take a `long` argument with methods that take a `Duration`.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.kafka.core.KafkaOperations2
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springframework.kafka.core.KafkaOperations
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.spring.kafka.RemoveUsingCompletableFuture

                  Name

                  Remove `KafkaOperations.usingCompletableFuture()`

                  Description

                  Remove the `KafkaOperations.usingCompletableFuture()` bridge during Spring Kafka 2.9 to 3.0 migration.

                  Depth: 8

                • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                  Name

                  Replace constant with another constant

                  Description

                  Replace a constant with another constant, adding/removing import on class if needed.

                  Used Parameters

                  Name Value Description
                  existingFullyQualifiedConstantName
                  org.springframework.kafka.support.KafkaHeaders.MESSAGE_KEY
                  fullyQualifiedConstantName
                  org.springframework.kafka.support.KafkaHeaders.KEY

                  Depth: 8

                • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                  Name

                  Replace constant with another constant

                  Description

                  Replace a constant with another constant, adding/removing import on class if needed.

                  Used Parameters

                  Name Value Description
                  existingFullyQualifiedConstantName
                  org.springframework.kafka.support.KafkaHeaders.PARTITION_ID
                  fullyQualifiedConstantName
                  org.springframework.kafka.support.KafkaHeaders.PARTITION

                  Depth: 8

                • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                  Name

                  Replace constant with another constant

                  Description

                  Replace a constant with another constant, adding/removing import on class if needed.

                  Used Parameters

                  Name Value Description
                  existingFullyQualifiedConstantName
                  org.springframework.kafka.support.KafkaHeaders.RECEIVED_MESSAGE_KEY
                  fullyQualifiedConstantName
                  org.springframework.kafka.support.KafkaHeaders.RECEIVED_KEY

                  Depth: 8

                • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                  Name

                  Replace constant with another constant

                  Description

                  Replace a constant with another constant, adding/removing import on class if needed.

                  Used Parameters

                  Name Value Description
                  existingFullyQualifiedConstantName
                  org.springframework.kafka.support.KafkaHeaders.RECEIVED_PARTITION_ID
                  fullyQualifiedConstantName
                  org.springframework.kafka.support.KafkaHeaders.RECEIVED_PARTITION

                  Depth: 8

              • org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_0

                Name

                Migrate to Spring Security 6.0

                Description

                Migrate applications to the latest Spring Security 6.0 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_8

                  Name

                  Migrate to Spring Security 5.8

                  Description

                  Migrate applications to the latest Spring Security 5.8 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_7

                    Name

                    Migrate to Spring Security 5.7

                    Description

                    Migrate applications to the latest Spring Security 5.7 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework.security
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      *
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      5.7.x
                      An exact version number or node-style semver selector used to select the version number.
                      overrideManagedVersion
                      false
                      For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                      Depth: 10

                    • org.openrewrite.java.spring.security5.WebSecurityConfigurerAdapter

                      Name

                      Spring Security 5.4 introduces the ability to configure `HttpSecurity` by creating a `SecurityFilterChain` bean

                      Description

                      The Spring Security `WebSecurityConfigurerAdapter` was deprecated 5.7, this recipe will transform `WebSecurityConfigurerAdapter` classes by using a component based approach. Check out the [spring-security-without-the-websecurityconfigureradapter](https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter) blog for more details.

                      Depth: 10

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.security
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.8.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.HttpSecurityLambdaDsl

                    Name

                    Convert `HttpSecurity` chained calls into Lambda DSL

                    Description

                    Converts `HttpSecurity` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.ServerHttpSecurityLambdaDsl

                    Name

                    Convert `ServerHttpSecurity` chained calls into Lambda DSL

                    Description

                    Converts `ServerHttpSecurity` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.HeadersConfigurerLambdaDsl

                    Name

                    Convert `HeadersConfigurer` chained calls into Lambda DSL

                    Description

                    Converts `HeadersConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.AuthorizeHttpRequests

                    Name

                    Replace `HttpSecurity.authorizeRequests(...)` with `HttpSecurity.authorizeHttpRequests(...)` and `ExpressionUrlAuthorizationConfigurer`, `AbstractInterceptUrlConfigurer` with `AuthorizeHttpRequestsConfigurer`, etc

                    Description

                    Replace `HttpSecurity.authorizeRequests(...)` deprecated in Spring Security 6 with `HttpSecurity.authorizeHttpRequests(...)` and all method calls on the resultant object respectively. Replace deprecated `AbstractInterceptUrlConfigurer` and its deprecated subclasses with `AuthorizeHttpRequestsConfigurer` and its corresponding subclasses.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UseNewRequestMatchers

                    Name

                    Use the new `requestMatchers` methods

                    Description

                    In Spring Security 5.8, the `antMatchers`, `mvcMatchers`, and `regexMatchers` methods were deprecated in favor of new `requestMatchers` methods. Refer to the [Spring Security docs](https://docs.spring.io/spring-security/reference/5.8/migration/servlet/config.html#use-new-requestmatchers) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UseNewSecurityMatchers

                    Name

                    Use the new `securityMatcher()` method

                    Description

                    In Spring Security 5.8, the `HttpSecurity#antMatcher()`, `HttpSecurity#mvcMatcher()`, and `HttpSecurity#regexMatcher()` methods were deprecated in favor of new `HttpSecurity#securityMatcher()` method. Refer to the [Spring Security docs](https://docs.spring.io/spring-security/reference/5.8/migration/servlet/config.html#use-new-security-matchers) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdatePbkdf2PasswordEncoder

                    Name

                    Use new `Pbkdf2PasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `Pbkdf2PasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_pbkdf2passwordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdateSCryptPasswordEncoder

                    Name

                    Use new `SCryptPasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `SCryptPasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_scryptpasswordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdateArgon2PasswordEncoder

                    Name

                    Use new `Argon2PasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `Argon2PasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_argon2passwordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.ReplaceGlobalMethodSecurityWithMethodSecurity

                    Name

                    Replace global method security with method security

                    Description

                    `@EnableGlobalMethodSecurity` and `` are deprecated in favor of `@EnableMethodSecurity` and ``, respectively. The new annotation and XML element activate Spring’s pre-post annotations by default and use AuthorizationManager internally.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.ReplaceGlobalMethodSecurityWithMethodSecurityXml

                    Name

                    Replace global method security with method security

                    Description

                    `@EnableGlobalMethodSecurity` and `` are deprecated in favor of `@EnableMethodSecurity` and ``, respectively. The new annotation and XML element activate Spring’s pre-post annotations by default and use AuthorizationManager internally.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.xml.ChangeTagName

                      Name

                      Change XML tag name

                      Description

                      Alters the name of XML tags matching the provided expression.

                      Used Parameters

                      Name Value Description
                      elementName
                      global-method-security
                      The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                      newName
                      method-security
                      The new name for the tag.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Used Parameters

                      Name Value Description
                      elementName
                      method-security
                      The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                      attributeName
                      pre-post-enabled
                      The name of the attribute whose value is to be changed.
                      oldValue
                      true
                      Only change the property value if it matches the configured `oldValue`.

                      Depth: 10

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.security
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  6.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.spring.security6.UseSha256InRememberMe

                  Name

                  Remove explicit configuration of SHA-256 as encoding and matching algorithm for `TokenBasedRememberMeServices`

                  Description

                  As of Spring Security 6.0 the SHA-256 algorithm is the default for the encoding and matching algorithm used by `TokenBasedRememberMeServices` and does thus no longer need to be explicitly configured. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/authentication.html#servlet-opt-in-sha256-rememberme) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.PropagateAuthenticationServiceExceptions

                  Name

                  Remove calls matching `AuthenticationEntryPointFailureHandler.setRethrowAuthenticationServiceException(true)`

                  Description

                  Remove any calls matching `AuthenticationEntryPointFailureHandler.setRethrowAuthenticationServiceException(true)`. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/authentication.html#_propagate_authenticationserviceexceptions) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RequireExplicitSavingOfSecurityContextRepository

                  Name

                  Remove explicit `SecurityContextConfigurer.requireExplicitSave(true)` opt-in

                  Description

                  Remove explicit `SecurityContextConfigurer.requireExplicitSave(true)` opt-in as that is the new default in Spring Security 6. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/session-management.html#_require_explicit_saving_of_securitycontextrepository) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.UpdateRequestCache

                  Name

                  Keep the default RequestCache querying behavior in Spring Security 5

                  Description

                  By default, Spring Security 5 queries the saved request on every request, which means that in a typical setup, the HttpSession is queried on every request to use the RequestCache. In Spring Security 6, the default behavior has changed, and RequestCache will only be queried for a cached request if the HTTP parameter "continue" is defined. To maintain the same default behavior as Spring Security 5, either explicitly add the HTTP parameter "continue" to every request or use NullRequestCache to override the default behavior.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RemoveUseAuthorizationManager

                  Name

                  Remove unnecessary `use-authorization-manager` for message security in Spring security 6

                  Description

                  In Spring Security 6, defaults use-authorization-manager to true. So, the 'use-authorization-manager' attribute for message security is no longer needed and can be removed.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Used Parameters

                    Name Value Description
                    elementName
                    websocket-message-broker
                    The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                    attributeName
                    use-authorization-manager
                    The name of the attribute whose value is to be changed.
                    oldValue
                    true
                    Only change the property value if it matches the configured `oldValue`.

                    Depth: 9

                • org.openrewrite.java.spring.security6.UpdateEnableReactiveMethodSecurity

                  Name

                  Remove the `useAuthorizationManager=true` attribute from `@EnableReactiveMethodSecurity`

                  Description

                  In Spring security 6.0, `@EnableReactiveMethodSecurity` defaults `useAuthorizationManager` to true. So, to complete migration, `@EnableReactiveMethodSecurity` remove the `useAuthorizationManager` attribute.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RemoveFilterSecurityInterceptorOncePerRequest

                  Name

                  Remove unnecessary `filterSecurityInterceptorOncePerRequest(false)` when upgrading to Spring Security 6

                  Description

                  In Spring Security 6.0, `` defaults `authorizeRequests#filterSecurityInterceptorOncePerRequest` to false. So, to complete migration, any defaults values can be removed.

                  Depth: 8

              • org.openrewrite.java.spring.cloud2022.UpgradeSpringCloud_2022

                Name

                Migrate to Spring Cloud 2022

                Description

                Migrate applications to the latest Spring Cloud 2022 (Kilburn) release.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.cloud2022.DependencyUpgrades

                  Name

                  Upgrade dependencies to Spring Cloud 2022

                  Description

                  Upgrade dependencies to Spring Cloud 2022 from prior 2021.x version.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    4.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.maven.UpgradeParentVersion

                    Name

                    Upgrade Maven parent project version

                    Description

                    Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                    artifactId
                    spring-cloud-starter-parent
                    The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                    newVersion
                    2022.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.springframework.cloud
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    spring-cloud-starter-feign
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    spring-cloud-starter-openfeign
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-dependencies
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    2022.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-starter-circuitbreaker-*
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-circuitbreaker-*
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-starter-kubernetes-*
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-kubernetes-*
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-starter-task-*
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-task-*
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                • org.openrewrite.java.spring.cloud2022.MigrateCloudSleuthToMicrometerTracing

                  Name

                  Migrate Spring Cloud Sleuth 3.1 to Micrometer Tracing 1.0

                  Description

                  Spring Cloud Sleuth has been discontinued and only compatible with Spring Boot 2.x.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.cloud2022.AddLoggingPatternLevelForSleuth

                    Name

                    Add logging.pattern.level for traceId and spanId

                    Description

                    Add `logging.pattern.level` for traceId and spanId which was previously set by default, if not already set.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.springframework.cloud
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    spring-cloud-starter-sleuth
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    io.micrometer
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    micrometer-tracing-bridge-brave
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    1.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.springframework.cloud
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    spring-cloud-sleuth-otel-dependencies
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    io.micrometer
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    micrometer-tracing-bridge-otel
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    1.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.springframework.cloud
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    spring-cloud-sleuth-api
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    io.micrometer
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    micrometer-tracing
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    1.0.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.springframework.cloud
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    spring-cloud-sleuth-autoconfigure
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    org.springframework.boot
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    spring-boot-actuator-autoconfigure
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.springframework.cloud
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    spring-cloud-sleuth-otel-autoconfigure
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    org.springframework.boot
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    spring-boot-actuator-autoconfigure
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.springframework.cloud
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    spring-cloud-sleuth-zipkin
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newGroupId
                    io.zipkin.reporter2
                    The new group ID to use. Defaults to the existing group ID.
                    newArtifactId
                    zipkin-reporter-brave
                    The new artifact ID to use. Defaults to the existing artifact ID.
                    newVersion
                    2.16.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.AddDependency

                    Name

                    Add Gradle or Maven dependency

                    Description

                    For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.boot
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                    artifactId
                    spring-boot-starter-actuator
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                    version
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    onlyIfUsing
                    org.springframework.cloud.sleuth..*
                    Used to determine if the dependency will be added and in which scope it should be placed.
                    acceptTransitive
                    true
                    Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                    Depth: 9

                  • org.openrewrite.java.dependencies.AddDependency

                    Name

                    Add Gradle or Maven dependency

                    Description

                    For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                    Used Parameters

                    Name Value Description
                    groupId
                    io.micrometer
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                    artifactId
                    micrometer-tracing
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                    version
                    1.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    onlyIfUsing
                    org.springframework.cloud.sleuth.annotation.*
                    Used to determine if the dependency will be added and in which scope it should be placed.
                    acceptTransitive
                    true
                    Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                    Depth: 9

                  • org.openrewrite.java.dependencies.AddDependency

                    Name

                    Add Gradle or Maven dependency

                    Description

                    For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.boot
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                    artifactId
                    spring-boot-starter-aop
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                    version
                    3.0.x
                    An exact version number or node-style semver selector used to select the version number.
                    onlyIfUsing
                    org.springframework.cloud.sleuth.annotation.*
                    Used to determine if the dependency will be added and in which scope it should be placed.
                    acceptTransitive
                    true
                    Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                    Depth: 9

                  • org.openrewrite.java.dependencies.RemoveDependency

                    Name

                    Remove a Gradle or Maven dependency

                    Description

                    For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    spring-cloud-sleuth-*
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                    Depth: 9

                  • org.openrewrite.maven.RemoveManagedDependency

                    Name

                    Remove Maven managed dependency

                    Description

                    Removes a single managed dependency from the section of the pom.xml.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.cloud
                    The first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                    artifactId
                    spring-cloud-sleuth-*
                    The second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.

                    Depth: 9

                  • org.openrewrite.maven.RemoveRedundantDependencyVersions

                    Name

                    Remove redundant explicit dependency and plugin versions

                    Description

                    Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

                    Used Parameters

                    Name Value Description
                    groupPattern
                    io.micrometer
                    Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                    artifactPattern
                    micrometer-tracing*
                    Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
                    onlyIfVersionsMatch
                    false
                    Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.springframework.cloud.sleuth.exporter.SpanFilter
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    io.micrometer.tracing.exporter.SpanExportingPredicate
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.springframework.cloud.sleuth.exporter.SpanIgnoringSpanFilter
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    io.micrometer.tracing.exporter.SpanIgnoringSpanExportingPredicate
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.springframework.cloud.sleuth.autoconfig
                    The package name to replace.
                    newPackageName
                    org.springframework.boot.actuate.autoconfigure.tracing
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.springframework.cloud.sleuth
                    The package name to replace.
                    newPackageName
                    io.micrometer.tracing
                    New package name to replace the old package name with.
                    recursive
                    true
                    Recursively change subpackage names

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.sleuth.enabled
                    The property key to rename.
                    newPropertyKey
                    management.tracing.enabled
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.sleuth.batch.enabled
                    The property key to rename.
                    newPropertyKey
                    management.tracing.enabled
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.DeleteSpringProperty

                    Name

                    Delete a spring configuration property

                    Description

                    Delete a spring configuration property from any configuration file that contains a matching key.

                    Used Parameters

                    Name Value Description
                    propertyKey
                    spring.sleuth.supports-join
                    The property key to delete. Supports glob expressions

                    Depth: 9

                  • org.openrewrite.java.spring.DeleteSpringProperty

                    Name

                    Delete a spring configuration property

                    Description

                    Delete a spring configuration property from any configuration file that contains a matching key.

                    Used Parameters

                    Name Value Description
                    propertyKey
                    spring.sleuth.trace-id128
                    The property key to delete. Supports glob expressions

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.sleuth.propagation.type
                    The property key to rename.
                    newPropertyKey
                    management.tracing.propagation.type
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.DeleteSpringProperty

                    Name

                    Delete a spring configuration property

                    Description

                    Delete a spring configuration property from any configuration file that contains a matching key.

                    Used Parameters

                    Name Value Description
                    propertyKey
                    spring.sleuth.sampler.rate
                    The property key to delete. Supports glob expressions

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.sleuth.sampler.probability
                    The property key to rename.
                    newPropertyKey
                    management.tracing.sampling.probability
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.sleuth.baggage.remote-fields
                    The property key to rename.
                    newPropertyKey
                    management.tracing.baggage.remote-fields
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.sleuth.propagation-keys
                    The property key to rename.
                    newPropertyKey
                    management.tracing.baggage.remote-fields
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.sleuth.baggage.correlation-enabled
                    The property key to rename.
                    newPropertyKey
                    management.tracing.baggage.correlation.enabled
                    The new name for the property key.

                    Depth: 9

                  • org.openrewrite.java.spring.ChangeSpringPropertyKey

                    Name

                    Change the key of a spring application property

                    Description

                    Change spring application property keys existing in either Properties or Yaml files.

                    Used Parameters

                    Name Value Description
                    oldPropertyKey
                    spring.sleuth.baggage.correlation-fields
                    The property key to rename.
                    newPropertyKey
                    management.tracing.baggage.correlation.fields
                    The new name for the property key.

                    Depth: 9

              • org.openrewrite.java.springdoc.UpgradeSpringDoc_2

                Name

                Upgrade SpringDoc

                Description

                Upgrade to SpringDoc v2, as described in the [upgrade guide](https://springdoc.org/#migrating-from-springdoc-v1).

                Depth: 7

                Included recipes

                • org.openrewrite.openapi.swagger.UseJakartaSwaggerArtifacts

                  Name

                  Use Jakarta Swagger Artifacts

                  Description

                  Migrate from javax Swagger artifacts to Jakarta versions.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-annotations
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-annotations-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-core
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-core-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-gradle-plugin
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-gradle-plugin-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-integration
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-integration-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-jaxrs2
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-jaxrs2-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-jaxrs2-servlet-initializer
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-jaxrs2-servlet-initializer-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-jaxrs2-servlet-initializer-v2
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-jaxrs2-servlet-initializer-v2-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-maven-plugin
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-maven-plugin-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-models
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-models-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    io.swagger.core.v3
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    swagger-project
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    swagger-project-jakarta
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springdoc.core.SpringDocUtils
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springdoc.core.utils.SpringDocUtils
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springdoc.api.annotations.ParameterObject
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springdoc.core.annotations.ParameterObject
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springdoc.core.GroupedOpenApi
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springdoc.core.models.GroupedOpenApi
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springdoc.core.customizers.OpenApiCustomiser
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springdoc.core.customizers.OpenApiCustomizer
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springdoc.core.Constants
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springdoc.core.utils.Constants
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springdoc.core.SwaggerUiConfigParameters
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  org.springdoc.core.properties.SwaggerUiConfigParameters
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeMethodName

                  Name

                  Change method name

                  Description

                  Rename a method.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springdoc.core.models.GroupedOpenApi.Builder addOpenApiCustomiser(..)
                  A method pattern that is used to find matching method declarations/invocations.
                  newMethodName
                  addOpenApiCustomizer
                  The method name that will replace the existing name.
                  matchOverrides
                  true
                  When enabled, find methods that are overrides of the method pattern.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springdoc
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  springdoc-openapi-data-rest
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springdoc
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  springdoc-openapi-groovy
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springdoc
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  springdoc-openapi-hateoas
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springdoc
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  springdoc-openapi-javadoc
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springdoc
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  springdoc-openapi-kotlin
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springdoc
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  springdoc-openapi-security
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springdoc
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  springdoc-openapi-common
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  springdoc-openapi-starter-common
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  2.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springdoc
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  springdoc-openapi-webmvc-core
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  springdoc-openapi-starter-webmvc-api
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  2.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springdoc
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  springdoc-openapi-webflux-core
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  springdoc-openapi-starter-webflux-api
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  2.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springdoc
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  springdoc-openapi-ui
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  springdoc-openapi-starter-webmvc-ui
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  2.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springdoc
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  springdoc-openapi-webflux-ui
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  springdoc-openapi-starter-webflux-ui
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  2.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springdoc
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  2.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.hibernate.MigrateToHibernate61

                Name

                Migrate to Hibernate 6.1.x

                Description

                This recipe will apply changes commonly needed when migrating to Hibernate 6.1.x. The hibernate dependencies will be updated to use the new org.hibernate.orm group ID and the recipe will make changes necessary to use Hibernate with Jakarta EE 9.0.

                Depth: 7

                Included recipes

                • org.openrewrite.hibernate.MigrateToHibernate60

                  Name

                  Migrate to Hibernate 6.0.x

                  Description

                  This recipe will apply changes commonly needed when migrating to Hibernate 6.0.x. The hibernate dependencies will be updated to use the new `org.hibernate.orm` group ID and the recipe will make changes necessary to use Hibernate with Jakarta EE 9.0.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.hibernate.MigrateToHibernateDependencies60

                    Name

                    Migrate Hibernate dependencies to 6.0.x

                    Description

                    This recipe will migrate any existing dependencies on Hibernate 5.x to the latest 6.0.x release. This migration will include the adjustment to the new `org.hibernate.orm` group ID. It accounts for artifacts names that both do and do not include the `jakarta` suffix and it will change both dependencies and managed dependencies.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-agroal
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-agroal-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-agroal
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-c3p0
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-c3p0-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-c3p0
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-community-dialects
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-community-dialects-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-community-dialects
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-core
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-core-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-core
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-envers
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-envers-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-envers
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-graalvm
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-graalvm-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-graalvm
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-hikaricp
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-hikaricp-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-hikaricp
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-jcache
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-jcache-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-jcache
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-jpamodelgen
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-jpamodelgen-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-jpamodelgen
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-micrometer
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-micrometer-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-micrometer
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-proxool
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-proxool-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-proxool
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-spatial
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-spatial-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-spatial
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-testing
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-testing-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-testing
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.RemoveDependency

                      Name

                      Remove a Gradle or Maven dependency

                      Description

                      For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.hibernate
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      hibernate-entitymanager
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                      Depth: 10

                    • org.openrewrite.java.dependencies.AddDependency

                      Name

                      Add Gradle or Maven dependency

                      Description

                      For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.bind
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jakarta.xml.bind-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                      version
                      3.0.x
                      An exact version number or node-style semver selector used to select the version number.
                      onlyIfUsing
                      javax.xml.bind..*
                      Used to determine if the dependency will be added and in which scope it should be placed.
                      acceptTransitive
                      true
                      Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.bind
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jakarta.xml.bind-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      3.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                  • org.openrewrite.hibernate.EmptyInterceptorToInterface

                    Name

                    Replace `extends EmptyInterceptor` with `implements Interceptor` and potentially `StatementInspector`

                    Description

                    In Hibernate 6.0 the `Interceptor` interface received default implementations therefore the NOOP implementation that could be extended was no longer needed. This recipe migrates 5.x `Interceptor#onPrepareStatement(String)` to 6.0 `StatementInspector#inspect()`.

                    Depth: 9

                  • org.openrewrite.hibernate.MigrateBooleanMappings

                    Name

                    Replace boolean type mappings with converters

                    Description

                    Replaces type mapping of booleans with appropriate attribute converters.

                    Depth: 9

                  • org.openrewrite.hibernate.TypeAnnotationParameter

                    Name

                    @Type annotation type parameter migration

                    Description

                    Hibernate 6.x has 'type' parameter of type String replaced with 'value' of type class.

                    Depth: 9

                  • org.openrewrite.hibernate.TypeDescriptorToType

                    Name

                    Rename `JavaTypeDescriptor` and `SqlTypeDescriptor` to `JavaType` and `SqlType`

                    Description

                    Rename `JavaTypeDescriptor` and `SqlTypeDescriptor` to `JavaType` and `SqlType` respectively. See https://github.com/hibernate/hibernate-orm/blob/6.0/migration-guide.adoc#type-system

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.hibernate.type.descriptor.java.JavaTypeDescriptor
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.hibernate.type.descriptor.java.JavaType
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.hibernate.type.descriptor.sql.SqlTypeDescriptor
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.hibernate.type.descriptor.sql.SqlType
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                  • org.openrewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence

                    Name

                    Migrate deprecated `javax.persistence` packages to `jakarta.persistence`

                    Description

                    Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      javax.persistence
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      javax.persistence-api
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      jakarta.persistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      jakarta.persistence-api
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      latest.release
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.eclipse.persistence
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      javax.persistence
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      jakarta.persistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      jakarta.persistence-api
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      latest.release
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.persistence
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jakarta.persistence-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      latest.release
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      javax.persistence
                      The package name to replace.
                      newPackageName
                      jakarta.persistence
                      New package name to replace the old package name with.
                      recursive
                      true
                      Recursively change subpackage names

                      Depth: 10

                  • org.openrewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml

                    Name

                    Migrate xmlns entries in `persistence.xml` files

                    Description

                    Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

                      Name

                      Precondition bellwether

                      Description

                      Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                  • org.openrewrite.hibernate.MigrateToHypersistenceUtilsHibernate6.0

                    Name

                    Migrate Hibernate Types to Hypersistence Utils 6.0

                    Description

                    This recipe will migrate any existing dependencies on `com.vladmihalcea:hibernate-types` to `io.hypersistence:hypersistence-utils-hibernate-60`. This migration will include the adjustment from `com.vladmihalcea` to `io.hypersistence.utils` package name.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-4
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-5
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-43
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-52
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-55
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-60
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      com.vladmihalcea
                      The package name to replace.
                      newPackageName
                      io.hypersistence.utils
                      New package name to replace the old package name with.
                      recursive
                      true
                      Recursively change subpackage names

                      Depth: 10

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.hibernate.orm
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  6.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.springframework.boot
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              *
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              3.1.x
              An exact version number or node-style semver selector used to select the version number.
              overrideManagedVersion
              false
              For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

              Depth: 6

            • org.openrewrite.maven.UpgradePluginVersion

              Name

              Upgrade Maven plugin version

              Description

              Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.springframework.boot
              The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
              artifactId
              spring-boot-maven-plugin
              The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
              newVersion
              3.1.x
              An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

              Depth: 6

            • org.openrewrite.maven.UpgradeParentVersion

              Name

              Upgrade Maven parent project version

              Description

              Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

              Used Parameters

              Name Value Description
              groupId
              org.springframework.boot
              The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
              artifactId
              spring-boot-starter-parent
              The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
              newVersion
              3.1.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.gradle.plugins.UpgradePluginVersion

              Name

              Update a Gradle plugin by id

              Description

              Update a Gradle plugin by id to a later version.

              Used Parameters

              Name Value Description
              pluginIdPattern
              org.springframework.boot
              The `ID` part of `plugin { ID }`, as a glob expression.
              newVersion
              3.1.x
              An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

              Depth: 6

            • org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_1

              Name

              Migrate to Spring Security 6.1

              Description

              Migrate applications to the latest Spring Security 6.1 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

              Depth: 6

              Included recipes

              • org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_0

                Name

                Migrate to Spring Security 6.0

                Description

                Migrate applications to the latest Spring Security 6.0 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_8

                  Name

                  Migrate to Spring Security 5.8

                  Description

                  Migrate applications to the latest Spring Security 5.8 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_7

                    Name

                    Migrate to Spring Security 5.7

                    Description

                    Migrate applications to the latest Spring Security 5.7 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework.security
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      *
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      5.7.x
                      An exact version number or node-style semver selector used to select the version number.
                      overrideManagedVersion
                      false
                      For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                      Depth: 10

                    • org.openrewrite.java.spring.security5.WebSecurityConfigurerAdapter

                      Name

                      Spring Security 5.4 introduces the ability to configure `HttpSecurity` by creating a `SecurityFilterChain` bean

                      Description

                      The Spring Security `WebSecurityConfigurerAdapter` was deprecated 5.7, this recipe will transform `WebSecurityConfigurerAdapter` classes by using a component based approach. Check out the [spring-security-without-the-websecurityconfigureradapter](https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter) blog for more details.

                      Depth: 10

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.security
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.8.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.HttpSecurityLambdaDsl

                    Name

                    Convert `HttpSecurity` chained calls into Lambda DSL

                    Description

                    Converts `HttpSecurity` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.ServerHttpSecurityLambdaDsl

                    Name

                    Convert `ServerHttpSecurity` chained calls into Lambda DSL

                    Description

                    Converts `ServerHttpSecurity` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.HeadersConfigurerLambdaDsl

                    Name

                    Convert `HeadersConfigurer` chained calls into Lambda DSL

                    Description

                    Converts `HeadersConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.AuthorizeHttpRequests

                    Name

                    Replace `HttpSecurity.authorizeRequests(...)` with `HttpSecurity.authorizeHttpRequests(...)` and `ExpressionUrlAuthorizationConfigurer`, `AbstractInterceptUrlConfigurer` with `AuthorizeHttpRequestsConfigurer`, etc

                    Description

                    Replace `HttpSecurity.authorizeRequests(...)` deprecated in Spring Security 6 with `HttpSecurity.authorizeHttpRequests(...)` and all method calls on the resultant object respectively. Replace deprecated `AbstractInterceptUrlConfigurer` and its deprecated subclasses with `AuthorizeHttpRequestsConfigurer` and its corresponding subclasses.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UseNewRequestMatchers

                    Name

                    Use the new `requestMatchers` methods

                    Description

                    In Spring Security 5.8, the `antMatchers`, `mvcMatchers`, and `regexMatchers` methods were deprecated in favor of new `requestMatchers` methods. Refer to the [Spring Security docs](https://docs.spring.io/spring-security/reference/5.8/migration/servlet/config.html#use-new-requestmatchers) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UseNewSecurityMatchers

                    Name

                    Use the new `securityMatcher()` method

                    Description

                    In Spring Security 5.8, the `HttpSecurity#antMatcher()`, `HttpSecurity#mvcMatcher()`, and `HttpSecurity#regexMatcher()` methods were deprecated in favor of new `HttpSecurity#securityMatcher()` method. Refer to the [Spring Security docs](https://docs.spring.io/spring-security/reference/5.8/migration/servlet/config.html#use-new-security-matchers) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdatePbkdf2PasswordEncoder

                    Name

                    Use new `Pbkdf2PasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `Pbkdf2PasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_pbkdf2passwordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdateSCryptPasswordEncoder

                    Name

                    Use new `SCryptPasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `SCryptPasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_scryptpasswordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdateArgon2PasswordEncoder

                    Name

                    Use new `Argon2PasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `Argon2PasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_argon2passwordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.ReplaceGlobalMethodSecurityWithMethodSecurity

                    Name

                    Replace global method security with method security

                    Description

                    `@EnableGlobalMethodSecurity` and `` are deprecated in favor of `@EnableMethodSecurity` and ``, respectively. The new annotation and XML element activate Spring’s pre-post annotations by default and use AuthorizationManager internally.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.ReplaceGlobalMethodSecurityWithMethodSecurityXml

                    Name

                    Replace global method security with method security

                    Description

                    `@EnableGlobalMethodSecurity` and `` are deprecated in favor of `@EnableMethodSecurity` and ``, respectively. The new annotation and XML element activate Spring’s pre-post annotations by default and use AuthorizationManager internally.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.xml.ChangeTagName

                      Name

                      Change XML tag name

                      Description

                      Alters the name of XML tags matching the provided expression.

                      Used Parameters

                      Name Value Description
                      elementName
                      global-method-security
                      The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                      newName
                      method-security
                      The new name for the tag.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Used Parameters

                      Name Value Description
                      elementName
                      method-security
                      The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                      attributeName
                      pre-post-enabled
                      The name of the attribute whose value is to be changed.
                      oldValue
                      true
                      Only change the property value if it matches the configured `oldValue`.

                      Depth: 10

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.security
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  6.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.spring.security6.UseSha256InRememberMe

                  Name

                  Remove explicit configuration of SHA-256 as encoding and matching algorithm for `TokenBasedRememberMeServices`

                  Description

                  As of Spring Security 6.0 the SHA-256 algorithm is the default for the encoding and matching algorithm used by `TokenBasedRememberMeServices` and does thus no longer need to be explicitly configured. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/authentication.html#servlet-opt-in-sha256-rememberme) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.PropagateAuthenticationServiceExceptions

                  Name

                  Remove calls matching `AuthenticationEntryPointFailureHandler.setRethrowAuthenticationServiceException(true)`

                  Description

                  Remove any calls matching `AuthenticationEntryPointFailureHandler.setRethrowAuthenticationServiceException(true)`. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/authentication.html#_propagate_authenticationserviceexceptions) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RequireExplicitSavingOfSecurityContextRepository

                  Name

                  Remove explicit `SecurityContextConfigurer.requireExplicitSave(true)` opt-in

                  Description

                  Remove explicit `SecurityContextConfigurer.requireExplicitSave(true)` opt-in as that is the new default in Spring Security 6. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/session-management.html#_require_explicit_saving_of_securitycontextrepository) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.UpdateRequestCache

                  Name

                  Keep the default RequestCache querying behavior in Spring Security 5

                  Description

                  By default, Spring Security 5 queries the saved request on every request, which means that in a typical setup, the HttpSession is queried on every request to use the RequestCache. In Spring Security 6, the default behavior has changed, and RequestCache will only be queried for a cached request if the HTTP parameter "continue" is defined. To maintain the same default behavior as Spring Security 5, either explicitly add the HTTP parameter "continue" to every request or use NullRequestCache to override the default behavior.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RemoveUseAuthorizationManager

                  Name

                  Remove unnecessary `use-authorization-manager` for message security in Spring security 6

                  Description

                  In Spring Security 6, defaults use-authorization-manager to true. So, the 'use-authorization-manager' attribute for message security is no longer needed and can be removed.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Used Parameters

                    Name Value Description
                    elementName
                    websocket-message-broker
                    The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                    attributeName
                    use-authorization-manager
                    The name of the attribute whose value is to be changed.
                    oldValue
                    true
                    Only change the property value if it matches the configured `oldValue`.

                    Depth: 9

                • org.openrewrite.java.spring.security6.UpdateEnableReactiveMethodSecurity

                  Name

                  Remove the `useAuthorizationManager=true` attribute from `@EnableReactiveMethodSecurity`

                  Description

                  In Spring security 6.0, `@EnableReactiveMethodSecurity` defaults `useAuthorizationManager` to true. So, to complete migration, `@EnableReactiveMethodSecurity` remove the `useAuthorizationManager` attribute.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RemoveFilterSecurityInterceptorOncePerRequest

                  Name

                  Remove unnecessary `filterSecurityInterceptorOncePerRequest(false)` when upgrading to Spring Security 6

                  Description

                  In Spring Security 6.0, `` defaults `authorizeRequests#filterSecurityInterceptorOncePerRequest` to false. So, to complete migration, any defaults values can be removed.

                  Depth: 8

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.security
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                6.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.java.spring.security6.oauth2.client.OAuth2LoginLambdaDsl

                Name

                Convert `OAuth2LoginConfigurer` chained calls into Lambda DSL

                Description

                Converts `OAuth2LoginConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                Depth: 7

              • org.openrewrite.java.spring.security6.oauth2.client.OAuth2ClientLambdaDsl

                Name

                Convert `OAuth2ClientConfigurer` chained calls into Lambda DSL

                Description

                Converts `OAuth2ClientConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                Depth: 7

              • org.openrewrite.java.spring.security6.oauth2.server.resource.OAuth2ResourceServerLambdaDsl

                Name

                Convert `OAuth2ResourceServerConfigurer` chained calls into Lambda DSL

                Description

                Converts `OAuth2ResourceServerConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                Depth: 7

            • org.openrewrite.java.spring.boot3.SpringBootProperties_3_1

              Name

              Migrate Spring Boot properties to 3.1

              Description

              Migrate properties found in `application.properties` and `application.yml`.

              Depth: 6

              Included recipes

              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                Name

                Change the key of a spring application property

                Description

                Change spring application property keys existing in either Properties or Yaml files.

                Used Parameters

                Name Value Description
                oldPropertyKey
                spring.cassandra.ssl
                The property key to rename.
                newPropertyKey
                spring.cassandra.ssl.enabled
                The new name for the property key.

                Depth: 7

              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                Name

                Change the key of a spring application property

                Description

                Change spring application property keys existing in either Properties or Yaml files.

                Used Parameters

                Name Value Description
                oldPropertyKey
                spring.data.cassandra.ssl
                The property key to rename.
                newPropertyKey
                spring.cassandra.ssl.enabled
                The new name for the property key.

                Depth: 7

              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                Name

                Change the key of a spring application property

                Description

                Change spring application property keys existing in either Properties or Yaml files.

                Used Parameters

                Name Value Description
                oldPropertyKey
                spring.data.redis.ssl
                The property key to rename.
                newPropertyKey
                spring.data.redis.ssl.enabled
                The new name for the property key.

                Depth: 7

              • org.openrewrite.java.spring.ChangeSpringPropertyKey

                Name

                Change the key of a spring application property

                Description

                Change spring application property keys existing in either Properties or Yaml files.

                Used Parameters

                Name Value Description
                oldPropertyKey
                spring.kafka.streams.cache-max-size-buffering
                The property key to rename.
                newPropertyKey
                spring.kafka.streams.state-store-cache-max-size
                The new name for the property key.

                Depth: 7

              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                Name

                Comment out Spring properties

                Description

                Add comment to specified Spring properties, and comment out the property.

                Used Parameters

                Name Value Description
                propertyKey
                spring.couchbase.env.ssl.key-store
                The name of the property key to comment out.
                comment
                This property is deprecated: SSL bundle support with spring.ssl.bundle and spring.couchbase.env.ssl.bundle should be used instead
                Comment to replace the property key.

                Depth: 7

              • org.openrewrite.java.spring.CommentOutSpringPropertyKey

                Name

                Comment out Spring properties

                Description

                Add comment to specified Spring properties, and comment out the property.

                Used Parameters

                Name Value Description
                propertyKey
                spring.couchbase.env.ssl.key-store-password
                The name of the property key to comment out.
                comment
                This property is deprecated: SSL bundle support with spring.ssl.bundle and spring.couchbase.env.ssl.bundle should be used instead
                Comment to replace the property key.

                Depth: 7

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.springdoc
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              *
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              2.2.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.hibernate.MigrateToHibernate62

              Name

              Migrate to Hibernate 6.2.x

              Description

              This recipe will apply changes commonly needed when migrating to Hibernate 6.2.x.

              Depth: 6

              Included recipes

              • org.openrewrite.hibernate.MigrateToHibernate61

                Name

                Migrate to Hibernate 6.1.x

                Description

                This recipe will apply changes commonly needed when migrating to Hibernate 6.1.x. The hibernate dependencies will be updated to use the new org.hibernate.orm group ID and the recipe will make changes necessary to use Hibernate with Jakarta EE 9.0.

                Depth: 7

                Included recipes

                • org.openrewrite.hibernate.MigrateToHibernate60

                  Name

                  Migrate to Hibernate 6.0.x

                  Description

                  This recipe will apply changes commonly needed when migrating to Hibernate 6.0.x. The hibernate dependencies will be updated to use the new `org.hibernate.orm` group ID and the recipe will make changes necessary to use Hibernate with Jakarta EE 9.0.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.hibernate.MigrateToHibernateDependencies60

                    Name

                    Migrate Hibernate dependencies to 6.0.x

                    Description

                    This recipe will migrate any existing dependencies on Hibernate 5.x to the latest 6.0.x release. This migration will include the adjustment to the new `org.hibernate.orm` group ID. It accounts for artifacts names that both do and do not include the `jakarta` suffix and it will change both dependencies and managed dependencies.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-agroal
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-agroal-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-agroal
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-c3p0
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-c3p0-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-c3p0
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-community-dialects
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-community-dialects-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-community-dialects
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-core
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-core-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-core
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-envers
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-envers-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-envers
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-graalvm
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-graalvm-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-graalvm
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-hikaricp
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-hikaricp-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-hikaricp
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-jcache
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-jcache-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-jcache
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-jpamodelgen
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-jpamodelgen-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-jpamodelgen
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-micrometer
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-micrometer-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-micrometer
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-proxool
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-proxool-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-proxool
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-spatial
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-spatial-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-spatial
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-testing
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.hibernate
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-testing-jakarta
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      org.hibernate.orm
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hibernate-testing
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      6.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.RemoveDependency

                      Name

                      Remove a Gradle or Maven dependency

                      Description

                      For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.hibernate
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      hibernate-entitymanager
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                      Depth: 10

                    • org.openrewrite.java.dependencies.AddDependency

                      Name

                      Add Gradle or Maven dependency

                      Description

                      For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.bind
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                      artifactId
                      jakarta.xml.bind-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                      version
                      3.0.x
                      An exact version number or node-style semver selector used to select the version number.
                      onlyIfUsing
                      javax.xml.bind..*
                      Used to determine if the dependency will be added and in which scope it should be placed.
                      acceptTransitive
                      true
                      Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.xml.bind
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jakarta.xml.bind-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      3.0.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                  • org.openrewrite.hibernate.EmptyInterceptorToInterface

                    Name

                    Replace `extends EmptyInterceptor` with `implements Interceptor` and potentially `StatementInspector`

                    Description

                    In Hibernate 6.0 the `Interceptor` interface received default implementations therefore the NOOP implementation that could be extended was no longer needed. This recipe migrates 5.x `Interceptor#onPrepareStatement(String)` to 6.0 `StatementInspector#inspect()`.

                    Depth: 9

                  • org.openrewrite.hibernate.MigrateBooleanMappings

                    Name

                    Replace boolean type mappings with converters

                    Description

                    Replaces type mapping of booleans with appropriate attribute converters.

                    Depth: 9

                  • org.openrewrite.hibernate.TypeAnnotationParameter

                    Name

                    @Type annotation type parameter migration

                    Description

                    Hibernate 6.x has 'type' parameter of type String replaced with 'value' of type class.

                    Depth: 9

                  • org.openrewrite.hibernate.TypeDescriptorToType

                    Name

                    Rename `JavaTypeDescriptor` and `SqlTypeDescriptor` to `JavaType` and `SqlType`

                    Description

                    Rename `JavaTypeDescriptor` and `SqlTypeDescriptor` to `JavaType` and `SqlType` respectively. See https://github.com/hibernate/hibernate-orm/blob/6.0/migration-guide.adoc#type-system

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.hibernate.type.descriptor.java.JavaTypeDescriptor
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.hibernate.type.descriptor.java.JavaType
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.hibernate.type.descriptor.sql.SqlTypeDescriptor
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.hibernate.type.descriptor.sql.SqlType
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                  • org.openrewrite.java.migrate.jakarta.JavaxPersistenceToJakartaPersistence

                    Name

                    Migrate deprecated `javax.persistence` packages to `jakarta.persistence`

                    Description

                    Java EE has been rebranded to Jakarta EE, necessitating a package relocation.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      javax.persistence
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      javax.persistence-api
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      jakarta.persistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      jakarta.persistence-api
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      latest.release
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      org.eclipse.persistence
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      javax.persistence
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      jakarta.persistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      jakarta.persistence-api
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      latest.release
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      jakarta.persistence
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      jakarta.persistence-api
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      latest.release
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      javax.persistence
                      The package name to replace.
                      newPackageName
                      jakarta.persistence
                      New package name to replace the old package name with.
                      recursive
                      true
                      Recursively change subpackage names

                      Depth: 10

                  • org.openrewrite.java.migrate.jakarta.JavaxPersistenceXmlToJakartaPersistenceXml

                    Name

                    Migrate xmlns entries in `persistence.xml` files

                    Description

                    Java EE has been rebranded to Jakarta EE, necessitating an XML namespace relocation.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

                      Name

                      Precondition bellwether

                      Description

                      Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Depth: 10

                  • org.openrewrite.hibernate.MigrateToHypersistenceUtilsHibernate6.0

                    Name

                    Migrate Hibernate Types to Hypersistence Utils 6.0

                    Description

                    This recipe will migrate any existing dependencies on `com.vladmihalcea:hibernate-types` to `io.hypersistence:hypersistence-utils-hibernate-60`. This migration will include the adjustment from `com.vladmihalcea` to `io.hypersistence.utils` package name.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-4
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-5
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-43
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-52
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-55
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.dependencies.ChangeDependency

                      Name

                      Change Gradle or Maven dependency

                      Description

                      Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                      Used Parameters

                      Name Value Description
                      oldGroupId
                      com.vladmihalcea
                      The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      oldArtifactId
                      hibernate-types-60
                      The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                      newGroupId
                      io.hypersistence
                      The new group ID to use. Defaults to the existing group ID.
                      newArtifactId
                      hypersistence-utils-hibernate-60
                      The new artifact ID to use. Defaults to the existing artifact ID.
                      newVersion
                      3.5.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.ChangePackage

                      Name

                      Rename package name

                      Description

                      A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                      Used Parameters

                      Name Value Description
                      oldPackageName
                      com.vladmihalcea
                      The package name to replace.
                      newPackageName
                      io.hypersistence.utils
                      New package name to replace the old package name with.
                      recursive
                      true
                      Recursively change subpackage names

                      Depth: 10

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.hibernate.orm
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  6.1.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.hibernate.MigrateToHypersistenceUtilsHibernate6.2

                Name

                Migrate Hibernate Types to Hypersistence Utils 6.2

                Description

                This recipe will migrate any existing dependencies on `io.hypersistence:hypersistence-utils-hibernate-60` to `io.hypersistence:hypersistence-utils-hibernate-62`.

                Depth: 7

                Included recipes

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  io.hypersistence
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  hypersistence-utils-hibernate-60
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.hypersistence
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  hypersistence-utils-hibernate-62
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  3.7.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.hibernate.orm
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                6.2.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

            • org.openrewrite.reactive.reactor.UpgradeReactor_3_5

              Name

              Migrate to Reactor 3.5

              Description

              Adopt to [breaking changes in Reactor 3.5](https://projectreactor.io/docs/core/3.4.26/api/deprecated-list.html).

              Depth: 6

              Included recipes

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                io.projectreactor
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                reactor-*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                3.5.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

              • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes

                Name

                Replace various `Processor.create` calls with their `Sinks` equivalent

                Description

                As of 3.5 Processors are deprecated and Sinks are preferred.

                Depth: 7

                Included recipes

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$MonoProcessorCreateToSinkRecipe

                  Name

                  Replace `MonoProcessor.create()` with `Sinks.one()`

                  Description

                  As of 3.5 MonoProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$ReplayProcessorCreateToSinkRecipe

                  Name

                  Replace `ReplayProcessor.create()` with `Sinks.many().replay().all()`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$ReplayProcessorCreateIntToSinkRecipe

                  Name

                  Replace `ReplayProcessor.create(int)` with `Sinks.many().replay().limit(int)`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$ReplayProcessorCreateIntLiteralFalseToSinkRecipe

                  Name

                  Replace `ReplayProcessor.create(int, false)` with `Sinks.many().replay().limit(int)`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$ReplayProcessorCreateIntLiteralTrueToSinkRecipe

                  Name

                  Replace `ReplayProcessor.create(int, true)` with `Sinks.many().replay().all(int)`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$ReplayProcessorCreateSizeAndTimeoutToSinkRecipe

                  Name

                  Replace `ReplayProcessor.createSizeAndTimeout(int, Duration)` with `Sinks.many().replay().limit(int, duration)`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$ReplayProcessorCreateSizeAndTimeoutSchedulerToSinkRecipe

                  Name

                  Replace `ReplayProcessor.createSizeAndTimeout(int, Duration, Scheduler)` with `Sinks.many().replay().limit(int, Duration, Scheduler)`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$ReplayProcessorCreateTimeoutToSinkRecipe

                  Name

                  Replace `ReplayProcessor.createTimeout(Duration)` with `Sinks.many().replay().limit(duration)`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$ReplayProcessorCreateTimeoutSchedulerToSinkRecipe

                  Name

                  Replace `ReplayProcessor.createTimeout(Duration, Scheduler)` with `Sinks.many().replay().limit(Duration, Scheduler)`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$DirectProcessorCreateToSinkRecipe

                  Name

                  Replace `DirectProcessor.create()` with `Sinks.many().multicast().directBestEffort()`

                  Description

                  As of 3.5 DirectProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$EmitterProcessorCreateToSinkRecipe

                  Name

                  Replace `EmitterProcessor.create()` with `Sinks.many().multicast().onBackpressureBuffer()`

                  Description

                  As of 3.5 EmitterProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$EmitterProcessorCreateBooleanToSinkRecipe

                  Name

                  Replace `EmitterProcessor.create(Boolean)` with `Sinks.many().multicast().onBackpressureBuffer(Queues.SMALL_BUFFER_SIZE, Boolean)`

                  Description

                  As of 3.5 EmitterProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$EmitterProcessorCreateIntToSinkRecipe

                  Name

                  Replace `EmitterProcessor.create(int)` with `Sinks.many().multicast().onBackpressureBuffer(int)`

                  Description

                  As of 3.5 EmitterProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$EmitterProcessorCreateIntBooleanToSinkRecipe

                  Name

                  Replace `EmitterProcessor.create(int, Boolean)` with `Sinks.many().multicast().onBackpressureBuffer(int, Boolean)`

                  Description

                  As of 3.5 EmitterProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$UnicastProcessorCreateToSinkRecipe

                  Name

                  Replace `UnicastProcessor.create()` with `Sinks.many().unicast().onBackpressureBuffer()`

                  Description

                  As of 3.5 UnicastProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$UnicastProcessorCreateQueueToSinkRecipe

                  Name

                  Replace `UnicastProcessor.create(Queue)` with `Sinks.many().unicast().onBackpressureBuffer(Queue)`

                  Description

                  As of 3.5 UnicastProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$UnicastProcessorCreateQueueDisposableToSinkRecipe

                  Name

                  Replace `UnicastProcessor.create(Queue, Disposable)` with `Sinks.many().unicast().onBackpressureBuffer(Queue, Disposable)`

                  Description

                  As of 3.5 UnicastProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCreateToSinkRecipes$UnicastProcessorCreateQueueConsumerDisposableToSinkRecipe

                  Name

                  Replace `UnicastProcessor.create(Queue, Consumer, Disposable)` with `Sinks.many().unicast().onBackpressureBuffer(Queue, Disposable)`

                  Description

                  As of 3.5 UnicastProcessor is deprecated and Sinks are preferred

                  Depth: 8

              • org.openrewrite.reactive.reactor.ReactorProcessorCacheToSinkRecipes

                Name

                Replace various `Processor.cache` calls with their `Sinks` equivalent

                Description

                As of 3.5 Processors are deprecated and Sinks are preferred.

                Depth: 7

                Included recipes

                • org.openrewrite.reactive.reactor.ReactorProcessorCacheToSinkRecipes$ReplayProcessorCacheToSinkRecipe

                  Name

                  Replace `ReplayProcessor.cacheLast()` with `Sinks.many().replay().latest()`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

                • org.openrewrite.reactive.reactor.ReactorProcessorCacheToSinkRecipes$ReplayProcessorCacheDefaultToSinkRecipe

                  Name

                  Replace `ReplayProcessor.cacheLast()` with `Sinks.many().replay().latest()`

                  Description

                  As of 3.5 ReplayProcessor is deprecated and Sinks are preferred

                  Depth: 8

              • org.openrewrite.reactive.reactor.ReactorDoAfterSuccessOrErrorToTap

                Name

                Replace `doAfterSuccessOrError` calls with `tap` operator

                Description

                As of reactor-core 3.5 the `doAfterSuccessOrError` method is removed, this recipe replaces it with the `tap` operator.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.publisher.*Sink currentContext()
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                contextView
                The method name that will replace the existing name.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.publisher.Flux deferWithContext(..)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                deferContextual
                The method name that will replace the existing name.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.publisher.Mono deferWithContext(..)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                deferContextual
                The method name that will replace the existing name.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.scheduler.Schedulers elastic()
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                boundedElastic
                The method name that will replace the existing name.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.publisher.Mono first(..)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                firstWithSignal
                The method name that will replace the existing name.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.publisher.Flux first(..)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                firstWithSignal
                The method name that will replace the existing name.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.publisher.Signal getContext()
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                getContextView
                The method name that will replace the existing name.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.publisher.Flux limitRequest(..)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                take
                The method name that will replace the existing name.

                Depth: 7

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                reactor.core.publisher.Flux publishNext()
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                shareNext
                The method name that will replace the existing name.

                Depth: 7

            • com.sap.cx.rewrite.java.testing.mockito.Mockito4to5Only

              Name

              Mockito 4 to 5.x upgrade only

              Description

              Upgrade Mockito from 4.x to 5.x. Does not include 1.x to 4.x migration.

              Depth: 6

              Included recipes

              • com.sap.cx.rewrite.java.testing.mockito.Mockito1to4Migration

                Name

                Mockito 4.x upgrade

                Description

                Upgrade Mockito from 1.x to 4.x.

                Depth: 7

                Included recipes

                • com.sap.cx.rewrite.java.testing.mockito.Mockito1to3Migration

                  Name

                  Mockito 3.x migration from 1.x

                  Description

                  Upgrade Mockito from 1.x to 3.x.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.mockito.MockitoAnnotations.Mock
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.mockito.Mock
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.testing.mockito.AnyToNullable

                    Name

                    Replace Mockito 1.x `anyString()`/`any()` with `nullable(Class)`

                    Description

                    Since Mockito 2.10 `anyString()` and `any()` no longer matches null values. Use `nullable(Class)` instead.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.mockito.Matchers
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.mockito.ArgumentMatchers
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyVararg()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    any
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyObject()
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    any
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyListOf(java.lang.Class)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    anyList
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.DeleteMethodArgument

                    Name

                    Delete method argument

                    Description

                    Delete an argument from method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyList(java.lang.Class)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    0
                    A zero-based index that indicates which argument will be removed from the method invocation.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anySetOf(java.lang.Class)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    anySet
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.DeleteMethodArgument

                    Name

                    Delete method argument

                    Description

                    Delete an argument from method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anySet(java.lang.Class)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    0
                    A zero-based index that indicates which argument will be removed from the method invocation.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyMapOf(java.lang.Class, java.lang.Class)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    anyMap
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.DeleteMethodArgument

                    Name

                    Delete method argument

                    Description

                    Delete an argument from method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyMap(java.lang.Class, java.lang.Class)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    0
                    A zero-based index that indicates which argument will be removed from the method invocation.

                    Depth: 9

                  • org.openrewrite.java.DeleteMethodArgument

                    Name

                    Delete method argument

                    Description

                    Delete an argument from method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyMap(java.lang.Class)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    0
                    A zero-based index that indicates which argument will be removed from the method invocation.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyCollectionOf(java.lang.Class)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    anyCollection
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.DeleteMethodArgument

                    Name

                    Delete method argument

                    Description

                    Delete an argument from method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyCollection(java.lang.Class)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    0
                    A zero-based index that indicates which argument will be removed from the method invocation.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyIterableOf(java.lang.Class)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    anyIterable
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.DeleteMethodArgument

                    Name

                    Delete method argument

                    Description

                    Delete an argument from method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers anyIterable(java.lang.Class)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    0
                    A zero-based index that indicates which argument will be removed from the method invocation.

                    Depth: 9

                  • org.openrewrite.java.DeleteMethodArgument

                    Name

                    Delete method argument

                    Description

                    Delete an argument from method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers isNull(java.lang.Class)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    0
                    A zero-based index that indicates which argument will be removed from the method invocation.

                    Depth: 9

                  • org.openrewrite.java.DeleteMethodArgument

                    Name

                    Delete method argument

                    Description

                    Delete an argument from method invocations.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.ArgumentMatchers notNull(java.lang.Class)
                    A method pattern that is used to find matching method invocations.
                    argumentIndex
                    0
                    A zero-based index that indicates which argument will be removed from the method invocation.

                    Depth: 9

                  • org.openrewrite.java.ReorderMethodArguments

                    Name

                    Reorder method arguments

                    Description

                    Reorder method arguments into the specified order.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.MockedStatic verify(org.mockito.verification.VerificationMode, org.mockito.MockedStatic.Verification)
                    A method pattern that is used to find matching method invocations.
                    newParameterNames
                    [Ljava.lang.String;@2b7d1ce9
                    An array of parameter names that indicates the new order in which those arguments should be arranged.
                    oldParameterNames
                    [Ljava.lang.String;@8a6d011
                    If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

                    Depth: 9

                  • org.openrewrite.java.testing.mockito.VerifyZeroToNoMoreInteractions

                    Name

                    Replace `verifyZeroInteractions() to `verifyNoMoreInteractions()

                    Description

                    Replaces `verifyZeroInteractions()` with `verifyNoMoreInteractions()` in Mockito tests when migration when using a Mockito version < 3.x.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.Mockito verifyZeroInteractions(..)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    verifyNoInteractions
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.mockito.invocation.InvocationOnMock getArgumentAt(int, java.lang.Class)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    getArgument
                    The method name that will replace the existing name.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.mockito.exceptions.verification.TooLittleActualInvocations
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.mockito.exceptions.verification.TooFewActualInvocations
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.mockito.configuration.AnnotationEngine
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.mockito.plugins.AnnotationEngine
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.mockito.plugins.InstantiatorProvider
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.mockito.plugins.InstantiatorProvider2
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.mockito.runners.MockitoJUnitRunner
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.mockito.junit.MockitoJUnitRunner
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • com.sap.cx.rewrite.CleanupMockitoImports

                    Name

                    Cleanup Mockito imports

                    Description

                    Removes unused `org.mockito` import symbols, unless its possible they are associated with method invocations having null or unknown type information.

                    Depth: 9

                  • org.openrewrite.java.testing.mockito.MockUtilsToStatic

                    Name

                    Use static form of Mockito `MockUtil`

                    Description

                    Best-effort attempt to remove Mockito `MockUtil` instances.

                    Depth: 9

                  • org.openrewrite.java.testing.mockito.ReplacePowerMockito

                    Name

                    Replace PowerMock with raw Mockito

                    Description

                    PowerMockito with raw Mockito; best executed as part of a Mockito upgrade.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.RemoveAnnotation

                      Name

                      Remove annotation

                      Description

                      Remove matching annotations wherever they occur.

                      Used Parameters

                      Name Value Description
                      annotationPattern
                      @org.powermock.core.classloader.annotations.PowerMockIgnore
                      An annotation pattern, expressed as a method pattern.

                      Depth: 10

                    • org.openrewrite.java.ChangeMethodTargetToStatic

                      Name

                      Change method target to static

                      Description

                      Change method invocations to static method calls.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.powermock.api.mockito.PowerMockito mockStatic(..)
                      A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                      fullyQualifiedTargetTypeName
                      org.mockito.Mockito
                      A fully-qualified class name of the type upon which the static method is defined.
                      returnType
                      org.mockito.MockedStatic
                      Sometimes changing the target type also changes the return type. In the Guava example, changing from `ImmutableSet#of(..)` to `Set#of(..)` widens the return type from Guava's `ImmutableSet` to just `java.util.Set`.

                      Depth: 10

                    • org.openrewrite.java.ChangeMethodTargetToStatic

                      Name

                      Change method target to static

                      Description

                      Change method invocations to static method calls.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.powermock.api.mockito.PowerMockito do*(..)
                      A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                      fullyQualifiedTargetTypeName
                      org.mockito.Mockito
                      A fully-qualified class name of the type upon which the static method is defined.

                      Depth: 10

                    • org.openrewrite.java.ChangeMethodTargetToStatic

                      Name

                      Change method target to static

                      Description

                      Change method invocations to static method calls.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.powermock.api.mockito.PowerMockito mock(..)
                      A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                      fullyQualifiedTargetTypeName
                      org.mockito.Mockito
                      A fully-qualified class name of the type upon which the static method is defined.

                      Depth: 10

                    • org.openrewrite.java.ChangeMethodTargetToStatic

                      Name

                      Change method target to static

                      Description

                      Change method invocations to static method calls.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.powermock.api.mockito.PowerMockito spy(..)
                      A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                      fullyQualifiedTargetTypeName
                      org.mockito.Mockito
                      A fully-qualified class name of the type upon which the static method is defined.

                      Depth: 10

                    • org.openrewrite.java.ChangeMethodTargetToStatic

                      Name

                      Change method target to static

                      Description

                      Change method invocations to static method calls.

                      Used Parameters

                      Name Value Description
                      methodPattern
                      org.powermock.api.mockito.PowerMockito when(..)
                      A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                      fullyQualifiedTargetTypeName
                      org.mockito.Mockito
                      A fully-qualified class name of the type upon which the static method is defined.

                      Depth: 10

                    • org.openrewrite.java.testing.mockito.PowerMockitoMockStaticToMockito

                      Name

                      Replace `PowerMock.mockStatic()` with `Mockito.mockStatic()`

                      Description

                      Replaces `PowerMockito.mockStatic()` by `Mockito.mockStatic()`. Removes the `@PrepareForTest` annotation.

                      Depth: 10

                    • org.openrewrite.java.dependencies.RemoveDependency

                      Name

                      Remove a Gradle or Maven dependency

                      Description

                      For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.powermock
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      powermock-api-mockito*
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                      Depth: 10

                    • org.openrewrite.java.dependencies.RemoveDependency

                      Name

                      Remove a Gradle or Maven dependency

                      Description

                      For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.powermock
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      powermock-core
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                      Depth: 10

                  • org.openrewrite.java.dependencies.AddDependency

                    Name

                    Add Gradle or Maven dependency

                    Description

                    For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.mockito
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                    artifactId
                    mockito-junit-jupiter
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                    version
                    3.x
                    An exact version number or node-style semver selector used to select the version number.
                    onlyIfUsing
                    org.mockito.junit.jupiter.*
                    Used to determine if the dependency will be added and in which scope it should be placed.
                    acceptTransitive
                    true
                    Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.mockito
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    3.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.dependencies.ChangeDependency

                    Name

                    Change Gradle or Maven dependency

                    Description

                    Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                    Used Parameters

                    Name Value Description
                    oldGroupId
                    org.mockito
                    The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    oldArtifactId
                    mockito-all
                    The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                    newArtifactId
                    mockito-core
                    The new artifact ID to use. Defaults to the existing artifact ID.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    net.bytebuddy
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    byte-buddy*
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    1.11.13
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                • com.sap.cx.rewrite.MockitoWhenOnStaticToMockStatic

                  Name

                  Replace `Mockito.when` on static (non mock) calls with try-with-resource with MockedStatic

                  Description

                  Replaces `Mockito.when(...)` calls on static methods (non mock) with the recommended `MockedStatic` try-with-resources syntax. This is required because Mockito 4 no longer supports `when()` on static method calls directly. This recipe also fixes missing imports and removes unused ones.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.mockito
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  4.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  net.bytebuddy
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  byte-buddy*
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  1.12.19
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.java.dependencies.ChangeDependency

                Name

                Change Gradle or Maven dependency

                Description

                Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                Used Parameters

                Name Value Description
                oldGroupId
                org.mockito
                The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                oldArtifactId
                mockito-inline
                The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                newArtifactId
                mockito-core
                The new artifact ID to use. Defaults to the existing artifact ID.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.mockito
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                5.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                net.bytebuddy
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                byte-buddy*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                1.15.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

              • org.openrewrite.maven.RemoveDuplicateDependencies

                Name

                Remove duplicate Maven dependencies

                Description

                Removes duplicated dependencies in the `` and `` sections of the `pom.xml`.

                Depth: 7

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.springframework.boot
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            *
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            3.2.x
            An exact version number or node-style semver selector used to select the version number.
            overrideManagedVersion
            false
            For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

            Depth: 5

          • org.openrewrite.maven.UpgradePluginVersion

            Name

            Upgrade Maven plugin version

            Description

            Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.springframework.boot
            The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            artifactId
            spring-boot-maven-plugin
            The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            newVersion
            3.2.x
            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

            Depth: 5

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.springframework
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            *
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            6.1.x
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

          • org.openrewrite.maven.UpgradeParentVersion

            Name

            Upgrade Maven parent project version

            Description

            Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

            Used Parameters

            Name Value Description
            groupId
            org.springframework.boot
            The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
            artifactId
            spring-boot-starter-parent
            The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
            newVersion
            3.2.x
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

          • org.openrewrite.gradle.plugins.UpgradePluginVersion

            Name

            Update a Gradle plugin by id

            Description

            Update a Gradle plugin by id to a later version.

            Used Parameters

            Name Value Description
            pluginIdPattern
            org.springframework.boot
            The `ID` part of `plugin { ID }`, as a glob expression.
            newVersion
            3.2.x
            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

            Depth: 5

          • org.openrewrite.java.dependencies.AddDependency

            Name

            Add Gradle or Maven dependency

            Description

            For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

            Used Parameters

            Name Value Description
            groupId
            commons-codec
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
            artifactId
            commons-codec
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`
            version
            1.7.x
            An exact version number or node-style semver selector used to select the version number.
            onlyIfUsing
            org.apache.commons.codec..*
            Used to determine if the dependency will be added and in which scope it should be placed.

            Depth: 5

          • org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_2

            Name

            Migrate to Spring Security 6.2

            Description

            Migrate applications to the latest Spring Security 6.2 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

            Depth: 5

            Included recipes

            • org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_1

              Name

              Migrate to Spring Security 6.1

              Description

              Migrate applications to the latest Spring Security 6.1 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

              Depth: 6

              Included recipes

              • org.openrewrite.java.spring.security6.UpgradeSpringSecurity_6_0

                Name

                Migrate to Spring Security 6.0

                Description

                Migrate applications to the latest Spring Security 6.0 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_8

                  Name

                  Migrate to Spring Security 5.8

                  Description

                  Migrate applications to the latest Spring Security 5.8 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.security5.UpgradeSpringSecurity_5_7

                    Name

                    Migrate to Spring Security 5.7

                    Description

                    Migrate applications to the latest Spring Security 5.7 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework.security
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      *
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      5.7.x
                      An exact version number or node-style semver selector used to select the version number.
                      overrideManagedVersion
                      false
                      For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                      Depth: 10

                    • org.openrewrite.java.spring.security5.WebSecurityConfigurerAdapter

                      Name

                      Spring Security 5.4 introduces the ability to configure `HttpSecurity` by creating a `SecurityFilterChain` bean

                      Description

                      The Spring Security `WebSecurityConfigurerAdapter` was deprecated 5.7, this recipe will transform `WebSecurityConfigurerAdapter` classes by using a component based approach. Check out the [spring-security-without-the-websecurityconfigureradapter](https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter) blog for more details.

                      Depth: 10

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.security
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.8.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.HttpSecurityLambdaDsl

                    Name

                    Convert `HttpSecurity` chained calls into Lambda DSL

                    Description

                    Converts `HttpSecurity` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.ServerHttpSecurityLambdaDsl

                    Name

                    Convert `ServerHttpSecurity` chained calls into Lambda DSL

                    Description

                    Converts `ServerHttpSecurity` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.boot2.HeadersConfigurerLambdaDsl

                    Name

                    Convert `HeadersConfigurer` chained calls into Lambda DSL

                    Description

                    Converts `HeadersConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.AuthorizeHttpRequests

                    Name

                    Replace `HttpSecurity.authorizeRequests(...)` with `HttpSecurity.authorizeHttpRequests(...)` and `ExpressionUrlAuthorizationConfigurer`, `AbstractInterceptUrlConfigurer` with `AuthorizeHttpRequestsConfigurer`, etc

                    Description

                    Replace `HttpSecurity.authorizeRequests(...)` deprecated in Spring Security 6 with `HttpSecurity.authorizeHttpRequests(...)` and all method calls on the resultant object respectively. Replace deprecated `AbstractInterceptUrlConfigurer` and its deprecated subclasses with `AuthorizeHttpRequestsConfigurer` and its corresponding subclasses.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UseNewRequestMatchers

                    Name

                    Use the new `requestMatchers` methods

                    Description

                    In Spring Security 5.8, the `antMatchers`, `mvcMatchers`, and `regexMatchers` methods were deprecated in favor of new `requestMatchers` methods. Refer to the [Spring Security docs](https://docs.spring.io/spring-security/reference/5.8/migration/servlet/config.html#use-new-requestmatchers) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UseNewSecurityMatchers

                    Name

                    Use the new `securityMatcher()` method

                    Description

                    In Spring Security 5.8, the `HttpSecurity#antMatcher()`, `HttpSecurity#mvcMatcher()`, and `HttpSecurity#regexMatcher()` methods were deprecated in favor of new `HttpSecurity#securityMatcher()` method. Refer to the [Spring Security docs](https://docs.spring.io/spring-security/reference/5.8/migration/servlet/config.html#use-new-security-matchers) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdatePbkdf2PasswordEncoder

                    Name

                    Use new `Pbkdf2PasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `Pbkdf2PasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_pbkdf2passwordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdateSCryptPasswordEncoder

                    Name

                    Use new `SCryptPasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `SCryptPasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_scryptpasswordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.UpdateArgon2PasswordEncoder

                    Name

                    Use new `Argon2PasswordEncoder` factory methods

                    Description

                    In Spring Security 5.8 some `Argon2PasswordEncoder` constructors have been deprecated in favor of factory methods. Refer to the [ Spring Security migration docs](https://docs.spring.io/spring-security/reference/5.8/migration/index.html#_update_argon2passwordencoder) for more information.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.ReplaceGlobalMethodSecurityWithMethodSecurity

                    Name

                    Replace global method security with method security

                    Description

                    `@EnableGlobalMethodSecurity` and `` are deprecated in favor of `@EnableMethodSecurity` and ``, respectively. The new annotation and XML element activate Spring’s pre-post annotations by default and use AuthorizationManager internally.

                    Depth: 9

                  • org.openrewrite.java.spring.security5.ReplaceGlobalMethodSecurityWithMethodSecurityXml

                    Name

                    Replace global method security with method security

                    Description

                    `@EnableGlobalMethodSecurity` and `` are deprecated in favor of `@EnableMethodSecurity` and ``, respectively. The new annotation and XML element activate Spring’s pre-post annotations by default and use AuthorizationManager internally.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.xml.ChangeTagName

                      Name

                      Change XML tag name

                      Description

                      Alters the name of XML tags matching the provided expression.

                      Used Parameters

                      Name Value Description
                      elementName
                      global-method-security
                      The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                      newName
                      method-security
                      The new name for the tag.

                      Depth: 10

                    • org.openrewrite.xml.ChangeTagAttribute

                      Name

                      Change XML attribute

                      Description

                      Alters XML attribute value on a specified element.

                      Used Parameters

                      Name Value Description
                      elementName
                      method-security
                      The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                      attributeName
                      pre-post-enabled
                      The name of the attribute whose value is to be changed.
                      oldValue
                      true
                      Only change the property value if it matches the configured `oldValue`.

                      Depth: 10

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.security
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  6.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.spring.security6.UseSha256InRememberMe

                  Name

                  Remove explicit configuration of SHA-256 as encoding and matching algorithm for `TokenBasedRememberMeServices`

                  Description

                  As of Spring Security 6.0 the SHA-256 algorithm is the default for the encoding and matching algorithm used by `TokenBasedRememberMeServices` and does thus no longer need to be explicitly configured. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/authentication.html#servlet-opt-in-sha256-rememberme) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.PropagateAuthenticationServiceExceptions

                  Name

                  Remove calls matching `AuthenticationEntryPointFailureHandler.setRethrowAuthenticationServiceException(true)`

                  Description

                  Remove any calls matching `AuthenticationEntryPointFailureHandler.setRethrowAuthenticationServiceException(true)`. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/authentication.html#_propagate_authenticationserviceexceptions) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RequireExplicitSavingOfSecurityContextRepository

                  Name

                  Remove explicit `SecurityContextConfigurer.requireExplicitSave(true)` opt-in

                  Description

                  Remove explicit `SecurityContextConfigurer.requireExplicitSave(true)` opt-in as that is the new default in Spring Security 6. See the corresponding [Sprint Security 6.0 migration step](https://docs.spring.io/spring-security/reference/6.0.0/migration/servlet/session-management.html#_require_explicit_saving_of_securitycontextrepository) for details.

                  Depth: 8

                • org.openrewrite.java.spring.security6.UpdateRequestCache

                  Name

                  Keep the default RequestCache querying behavior in Spring Security 5

                  Description

                  By default, Spring Security 5 queries the saved request on every request, which means that in a typical setup, the HttpSession is queried on every request to use the RequestCache. In Spring Security 6, the default behavior has changed, and RequestCache will only be queried for a cached request if the HTTP parameter "continue" is defined. To maintain the same default behavior as Spring Security 5, either explicitly add the HTTP parameter "continue" to every request or use NullRequestCache to override the default behavior.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RemoveUseAuthorizationManager

                  Name

                  Remove unnecessary `use-authorization-manager` for message security in Spring security 6

                  Description

                  In Spring Security 6, defaults use-authorization-manager to true. So, the 'use-authorization-manager' attribute for message security is no longer needed and can be removed.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.xml.ChangeTagAttribute

                    Name

                    Change XML attribute

                    Description

                    Alters XML attribute value on a specified element.

                    Used Parameters

                    Name Value Description
                    elementName
                    websocket-message-broker
                    The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
                    attributeName
                    use-authorization-manager
                    The name of the attribute whose value is to be changed.
                    oldValue
                    true
                    Only change the property value if it matches the configured `oldValue`.

                    Depth: 9

                • org.openrewrite.java.spring.security6.UpdateEnableReactiveMethodSecurity

                  Name

                  Remove the `useAuthorizationManager=true` attribute from `@EnableReactiveMethodSecurity`

                  Description

                  In Spring security 6.0, `@EnableReactiveMethodSecurity` defaults `useAuthorizationManager` to true. So, to complete migration, `@EnableReactiveMethodSecurity` remove the `useAuthorizationManager` attribute.

                  Depth: 8

                • org.openrewrite.java.spring.security6.RemoveFilterSecurityInterceptorOncePerRequest

                  Name

                  Remove unnecessary `filterSecurityInterceptorOncePerRequest(false)` when upgrading to Spring Security 6

                  Description

                  In Spring Security 6.0, `` defaults `authorizeRequests#filterSecurityInterceptorOncePerRequest` to false. So, to complete migration, any defaults values can be removed.

                  Depth: 8

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.security
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                6.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.java.spring.security6.oauth2.client.OAuth2LoginLambdaDsl

                Name

                Convert `OAuth2LoginConfigurer` chained calls into Lambda DSL

                Description

                Converts `OAuth2LoginConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                Depth: 7

              • org.openrewrite.java.spring.security6.oauth2.client.OAuth2ClientLambdaDsl

                Name

                Convert `OAuth2ClientConfigurer` chained calls into Lambda DSL

                Description

                Converts `OAuth2ClientConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                Depth: 7

              • org.openrewrite.java.spring.security6.oauth2.server.resource.OAuth2ResourceServerLambdaDsl

                Name

                Convert `OAuth2ResourceServerConfigurer` chained calls into Lambda DSL

                Description

                Converts `OAuth2ResourceServerConfigurer` chained call from Spring Security pre 5.2.x into new lambda DSL style calls and removes `and()` methods.

                Depth: 7

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.springframework.security
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              *
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              6.2.x
              An exact version number or node-style semver selector used to select the version number.
              overrideManagedVersion
              false
              For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

              Depth: 6

            • org.openrewrite.java.spring.security6.ApplyToWithLambdaDsl

              Name

              Convert `HttpSecurity::apply` chained calls into `HttpSecurity::with` Lambda DSL

              Description

              Converts `HttpSecurity::apply` chained call from Spring Security pre 6.2.x into new lambda DSL style calls and removes `and()` methods.

              Depth: 6

          • org.openrewrite.java.spring.boot3.SpringBootProperties_3_2

            Name

            Migrate Spring Boot properties to 3.2

            Description

            Migrate properties found in `application.properties` and `application.yml`.

            Depth: 5

            Included recipes

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              management.metrics.web.client.requests-metric-name
              The property key to rename.
              newPropertyKey
              management.observations.http.client.requests.name
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              management.metrics.web.server.requests-metric-name
              The property key to rename.
              newPropertyKey
              management.observations.http.server.requests.name
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              management.otlp.metrics.export.resource-attributes
              The property key to rename.
              newPropertyKey
              management.opentelemetry.resource-attributes
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              micrometer.observations.annotations.enabled
              The property key to rename.
              newPropertyKey
              management.observations.annotations.enabled
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              server.max-http-header-size
              The property key to rename.
              newPropertyKey
              server.max-http-request-header-size
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              spring.flyway.oracle-kerberos-cache-file
              The property key to rename.
              newPropertyKey
              spring.flyway.oracle.kerberos-cache-file
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              spring.flyway.oracle-sqlplus
              The property key to rename.
              newPropertyKey
              spring.flyway.oracle.sqlplus
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              spring.flyway.oracle-sqlplus-warn
              The property key to rename.
              newPropertyKey
              spring.flyway.oracle.sqlplus-warn
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              spring.flyway.oracle-wallet-location
              The property key to rename.
              newPropertyKey
              spring.flyway.oracle.wallet-location
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              spring.flyway.sql-server-kerberos-login-file
              The property key to rename.
              newPropertyKey
              spring.flyway.sqlserver.kerberos-login-file
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              spring.jms.listener.acknowledge-mode
              The property key to rename.
              newPropertyKey
              spring.jms.listener.session.acknowledge-mode
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.ChangeSpringPropertyKey

              Name

              Change the key of a spring application property

              Description

              Change spring application property keys existing in either Properties or Yaml files.

              Used Parameters

              Name Value Description
              oldPropertyKey
              spring.jms.listener.concurrency
              The property key to rename.
              newPropertyKey
              spring.jms.listener.min-concurrency
              The new name for the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.datasource.dbcp2.default-query-timeout
              The name of the property key to comment out.
              comment
              This property is deprecated and will be removed in future Spring Boot versions
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.datasource.dbcp2.max-conn-lifetime-millis
              The name of the property key to comment out.
              comment
              This property is deprecated and will be removed in future Spring Boot versions
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.datasource.dbcp2.max-wait-millis
              The name of the property key to comment out.
              comment
              This property is deprecated and will be removed in future Spring Boot versions
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.datasource.dbcp2.min-evictable-idle-time-millis
              The name of the property key to comment out.
              comment
              This property is deprecated and will be removed in future Spring Boot versions
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.datasource.dbcp2.remove-abandoned-timeout
              The name of the property key to comment out.
              comment
              This property is deprecated and will be removed in future Spring Boot versions
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.datasource.dbcp2.soft-min-evictable-idle-time-millis
              The name of the property key to comment out.
              comment
              This property is deprecated and will be removed in future Spring Boot versions
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.datasource.dbcp2.time-between-eviction-runs-millis
              The name of the property key to comment out.
              comment
              This property is deprecated and will be removed in future Spring Boot versions
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.datasource.dbcp2.validation-query-timeout
              The name of the property key to comment out.
              comment
              This property is deprecated and will be removed in future Spring Boot versions
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.influx.password
              The name of the property key to comment out.
              comment
              This property is deprecated: the new InfluxDb Java client provides Spring Boot integration
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.influx.url
              The name of the property key to comment out.
              comment
              This property is deprecated: the new InfluxDb Java client provides Spring Boot integration
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.influx.user
              The name of the property key to comment out.
              comment
              This property is deprecated: the new InfluxDb Java client provides Spring Boot integration
              Comment to replace the property key.

              Depth: 6

            • org.openrewrite.java.spring.CommentOutSpringPropertyKey

              Name

              Comment out Spring properties

              Description

              Add comment to specified Spring properties, and comment out the property.

              Used Parameters

              Name Value Description
              propertyKey
              spring.mvc.throw-exception-if-no-handler-found
              The name of the property key to comment out.
              comment
              This property is deprecated: DispatcherServlet property is deprecated for removal and should no longer need to be configured
              Comment to replace the property key.

              Depth: 6

          • org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_1

            Name

            Migrate to Spring Framework 6.1

            Description

            Migrate applications to the latest Spring Framework 6.1 release.

            Depth: 5

            Included recipes

            • org.openrewrite.java.spring.framework.UpgradeSpringFramework_6_0

              Name

              Migrate to Spring Framework 6.0

              Description

              Migrate applications to the latest Spring Framework 6.0 release.

              Depth: 6

              Included recipes

              • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_3

                Name

                Migrate to Spring Framework 5.3

                Description

                Migrate applications to the latest Spring Framework 5.3 release.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_2

                  Name

                  Migrate to Spring Framework 5.2

                  Description

                  Migrate applications to the latest Spring Framework 5.2 release.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_1

                    Name

                    Migrate to Spring Framework 5.1

                    Description

                    Migrate applications to the latest Spring Framework 5.1 release.

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.spring.framework.UpgradeSpringFramework_5_0

                      Name

                      Migrate to Spring Framework 5.0

                      Description

                      Migrate applications to the latest Spring Framework 5.0 release.

                      Depth: 10

                      Included recipes

                      • org.openrewrite.java.spring.framework.MigrateWebMvcConfigurerAdapter

                        Name

                        Replace `WebMvcConfigurerAdapter` with `WebMvcConfigurer`

                        Description

                        As of 5.0 `WebMvcConfigurer` has default methods (made possible by a Java 8 baseline) and can be implemented directly without the need for this adapter.

                        Depth: 11

                      • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                        Name

                        Upgrade Gradle or Maven dependency versions

                        Description

                        For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework.security
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        artifactId
                        *
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        newVersion
                        5.0.x
                        An exact version number or node-style semver selector used to select the version number.
                        overrideManagedVersion
                        false
                        For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                        Depth: 11

                      • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                        Name

                        Upgrade Gradle or Maven dependency versions

                        Description

                        For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                        Used Parameters

                        Name Value Description
                        groupId
                        org.springframework
                        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        artifactId
                        *
                        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                        newVersion
                        5.0.x
                        An exact version number or node-style semver selector used to select the version number.

                        Depth: 11

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      *
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      5.1.x
                      An exact version number or node-style semver selector used to select the version number.

                      Depth: 10

                    • org.openrewrite.java.spring.framework.EnvironmentAcceptsProfiles

                      Name

                      Use `Environment#acceptsProfiles(Profiles)`

                      Description

                      `Environment#acceptsProfiles(String...)` was deprecated in Spring Framework 5.1.

                      Depth: 10

                    • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                      Name

                      Upgrade Gradle or Maven dependency versions

                      Description

                      For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                      Used Parameters

                      Name Value Description
                      groupId
                      org.springframework.security
                      The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      artifactId
                      *
                      The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                      newVersion
                      5.1.x
                      An exact version number or node-style semver selector used to select the version number.
                      overrideManagedVersion
                      false
                      For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.springframework.beans.factory.annotation.Required
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.springframework.beans.factory.annotation.Autowired
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.
                      ignoreDefinition
                      true
                      When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

                      Depth: 10

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.2.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.java.spring.framework.MigrateUtf8MediaTypes

                    Name

                    Migrate deprecated Spring Web UTF8 `MediaType` enums

                    Description

                    Spring Web `MediaType#APPLICATION_JSON_UTF8` and `MediaType#APPLICATION_PROBLEM_JSON_UTF8` were deprecated in 5.2.

                    Depth: 9

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.springframework.security
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    *
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    5.2.x
                    An exact version number or node-style semver selector used to select the version number.
                    overrideManagedVersion
                    false
                    For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                    Depth: 9

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  5.3.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.security
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  5.3.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.spring.framework.UseObjectUtilsIsEmpty

                  Name

                  Use `ObjectUtils#isEmpty(Object)`

                  Description

                  `StringUtils#isEmpty(Object)` was deprecated in 5.3.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodTargetToStatic

                    Name

                    Change method target to static

                    Description

                    Change method invocations to static method calls.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.springframework.util.StringUtils isEmpty(Object)
                    A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                    fullyQualifiedTargetTypeName
                    org.springframework.util.ObjectUtils
                    A fully-qualified class name of the type upon which the static method is defined.

                    Depth: 9

                • org.openrewrite.java.spring.framework.MigrateHandlerInterceptor

                  Name

                  Migrate `HandlerInterceptorAdapter` to `HandlerInterceptor`

                  Description

                  Deprecated as of 5.3 in favor of implementing `HandlerInterceptor` and/or `AsyncHandlerInterceptor`.

                  Depth: 8

                • org.openrewrite.java.spring.framework.MigrateInstantiationAwareBeanPostProcessorAdapter

                  Name

                  Convert `InstantiationAwareBeanPostProcessorAdapter` to `SmartInstantiationAwareBeanPostProcessor`

                  Description

                  As of Spring-Framework 5.3 `InstantiationAwareBeanPostProcessorAdapter` is deprecated in favor of the existing default methods in `SmartInstantiationAwareBeanPostProcessor`.

                  Depth: 8

                • org.openrewrite.java.spring.framework.JdbcTemplateObjectArrayArgToVarArgs

                  Name

                  Use varargs equivalents for deprecated JdbcTemplate signatures

                  Description

                  `JdbcTemplate` signatures with `Object[]` arguments are deprecated, in favor of their existing varargs equivalents.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.hibernate
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  hibernate-search-orm
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  5.11.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.aspectj
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  aspectjrt
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  unlessUsing
                  org.aspectj.lang.annotation.*
                  Do not remove if type is in use. Supports glob expressions.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  aopalliance
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  aopalliance
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  unlessUsing
                  org.aopalliance.aop.*
                  Do not remove if type is in use. Supports glob expressions.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  cglib
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  cglib
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  unlessUsing
                  net.sf.cglib.core.*
                  Do not remove if type is in use. Supports glob expressions.

                  Depth: 8

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                6.0.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

              • org.openrewrite.java.spring.framework.MigrateSpringAssert

                Name

                Migrate removed Spring `Assert` methods

                Description

                Assert methods without a message argument have been removed in Spring Framework 6.0.

                Depth: 7

                Included recipes

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert state(boolean)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must be true
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert isTrue(boolean)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must be true
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert isNull(java.lang.Object)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must be null
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert notNull(java.lang.Object)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must not be null
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert hasLength(java.lang.String)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must have length; it must not be null or empty
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert hasText(java.lang.String)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must have text; it must not be null, empty, or blank
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert doesNotContain(java.lang.String, java.lang.String)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  2
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must not contain the substring
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert notEmpty(java.lang.Object[])
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must not be empty
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert noNullElements(java.lang.Object[])
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must not contain any null elements
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert noNullElements(java.util.Collection)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must not be empty
                  The literal value that we add the argument for.

                  Depth: 8

                • org.openrewrite.java.AddLiteralMethodArgument

                  Name

                  Add a literal method argument

                  Description

                  Add a literal `String` or `int` argument to method invocations.

                  Used Parameters

                  Name Value Description
                  methodPattern
                  org.springframework.util.Assert notEmpty(java.util.Map)
                  A method pattern that is used to find matching method invocations.
                  argumentIndex
                  1
                  A zero-based index that indicates which argument will be added as null to the method invocation.
                  literal
                  must not be empty
                  The literal value that we add the argument for.

                  Depth: 8

              • org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5

                Name

                Migrate to ApacheHttpClient 5.x

                Description

                Migrate applications to the latest Apache HttpClient 5.x release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions.

                Depth: 7

                Included recipes

                • org.openrewrite.apache.httpclient4.UpgradeApacheHttpClient_4_5

                  Name

                  Migrates to ApacheHttpClient 4.5.x

                  Description

                  Migrate applications to the latest Apache HttpClient 4.5.x release. This recipe modifies application's build files, make changes to deprecated/preferred APIs, and migrates configuration settings that have changes between versions.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                    Name

                    Upgrade Gradle or Maven dependency versions

                    Description

                    For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                    Used Parameters

                    Name Value Description
                    groupId
                    org.apache.httpcomponents
                    The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    artifactId
                    httpclient
                    The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                    newVersion
                    4.5.x
                    An exact version number or node-style semver selector used to select the version number.

                    Depth: 9

                  • org.openrewrite.apache.httpclient4.MappingDeprecatedClasses

                    Name

                    Maps deprecated classes from Apache HttpClient 4.5.x to suggested replacements

                    Description

                    Uses new classes/methods instead of the deprecated ones

                    Depth: 9

                    Included recipes

                    • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                      Name

                      Replace constant with another constant

                      Description

                      Replace a constant with another constant, adding/removing import on class if needed.

                      Used Parameters

                      Name Value Description
                      existingFullyQualifiedConstantName
                      org.apache.http.client.params.CookiePolicy.RFC_2109
                      fullyQualifiedConstantName
                      org.apache.http.client.config.CookieSpecs.STANDARD

                      Depth: 10

                    • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                      Name

                      Replace constant with another constant

                      Description

                      Replace a constant with another constant, adding/removing import on class if needed.

                      Used Parameters

                      Name Value Description
                      existingFullyQualifiedConstantName
                      org.apache.http.client.params.CookiePolicy.RFC_2965
                      fullyQualifiedConstantName
                      org.apache.http.client.config.CookieSpecs.STANDARD_STRICT

                      Depth: 10

                    • org.openrewrite.java.ChangeType

                      Name

                      Change type

                      Description

                      Change a given type to another.

                      Used Parameters

                      Name Value Description
                      oldFullyQualifiedTypeName
                      org.apache.http.client.params.CookiePolicy
                      Fully-qualified class name of the original type.
                      newFullyQualifiedTypeName
                      org.apache.http.client.config.CookieSpecs
                      Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                      Depth: 10

                    • org.openrewrite.apache.httpclient4.MigrateDefaultHttpClient

                      Name

                      Migrates deprecated `DefaultHttpClient`

                      Description

                      Since `DefaultHttpClient` is deprecated, we need to change it to the `CloseableHttpClient`. It only covers the default scenario with no custom `HttpParams` or `ConnectionManager`. Of note: the `DefaultHttpClient` [does not support TLS 1.2](https://find-sec-bugs.github.io/bugs.htm#DEFAULT_HTTP_CLIENT). References: - [Find Sec Bugs](https://find-sec-bugs.github.io/bugs.htm#DEFAULT_HTTP_CLIENT) - [IBM Support Pages](https://www.ibm.com/support/pages/im-using-apache-httpclient-make-outbound-call-my-web-application-running-websphere-application-server-traditional-and-im-getting-ssl-handshake-error-how-can-i-debug)

                      Depth: 10

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.apache.httpcomponents
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  httpclient
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  org.apache.httpcomponents.client5
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  httpclient5
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  5.4.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.apache.httpcomponents
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  httpcore
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  org.apache.httpcomponents.core5
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  httpcore5
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  5.3.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.apache.httpclient5.MigrateRequestConfig

                  Name

                  Migrate `RequestConfig` to httpclient5

                  Description

                  Migrate `RequestConfig` to httpclient5.

                  Depth: 8

                • org.openrewrite.apache.httpclient5.UsernamePasswordCredentials

                  Name

                  Migrate `UsernamePasswordCredentials` to httpclient5

                  Description

                  Change the password argument going into `UsernamePasswordCredentials` to be a `char[]`.

                  Depth: 8

                • org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5_ClassMapping

                  Name

                  Migrate to ApacheHttpClient 5.x Classes Namespace from 4.x

                  Description

                  Mapping of all the compatible classes of ApacheHttpClient 5.x from 4.x.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.client.methods
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.classic.methods
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.classic.methods.CloseableHttpResponse
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.CloseableHttpResponse
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.client.entity
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.entity
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.client.protocol
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.protocol
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.conn.socket
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.socket
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.ssl
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.ssl
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.concurrent
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.concurrent
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.impl.auth
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.impl.auth
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.impl.cookie
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.impl.cookie
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.cookie.PublicSuffixListParser
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.psl.PublicSuffixListParser
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.cookie.DateUtils
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.utils.DateUtils
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.impl.client
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.impl.classic
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.http.impl.client.BasicAuthCache
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.auth.BasicAuthCache
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.BasicAuthCache
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.auth.BasicAuthCache
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.HttpAuthenticator
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.auth.HttpAuthenticator
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.SystemDefaultCredentialsProvider
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.auth.SystemDefaultCredentialsProvider
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.DefaultClientConnectionReuseStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.DefaultClientConnectionReuseStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.DefaultRedirectStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.DefaultRedirectStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.RedirectLocations
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.protocol.RedirectLocations
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.BasicCookieStore
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.cookie.BasicCookieStore
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.DefaultConnectionKeepAliveStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.DefaultConnectionKeepAliveStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.IdleConnectionEvictor
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.IdleConnectionEvictor
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.TunnelRefusedException
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.TunnelRefusedException
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.NoopUserTokenHandler
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.NoopUserTokenHandler
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.DefaultUserTokenHandler
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.DefaultUserTokenHandler
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.BasicCredentialsProvider
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.auth.BasicCredentialsProvider
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.http.impl.client.ProxyAuthenticationStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.DefaultAuthenticationStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.auth
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.auth
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.cookie
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.cookie
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.cookie
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.cookie
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.annotation
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.annotation
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.client.config
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.config
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                    Name

                    Replace constant with another constant

                    Description

                    Replace a constant with another constant, adding/removing import on class if needed.

                    Used Parameters

                    Name Value Description
                    existingFullyQualifiedConstantName
                    org.apache.hc.client5.http.config.CookieSpecs.IGNORE_COOKIES
                    fullyQualifiedConstantName
                    org.apache.hc.client5.http.cookie.StandardCookieSpec.IGNORE

                    Depth: 9

                  • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                    Name

                    Replace constant with another constant

                    Description

                    Replace a constant with another constant, adding/removing import on class if needed.

                    Used Parameters

                    Name Value Description
                    existingFullyQualifiedConstantName
                    org.apache.hc.client5.http.config.CookieSpecs.STANDARD
                    fullyQualifiedConstantName
                    org.apache.hc.client5.http.cookie.StandardCookieSpec.RELAXED

                    Depth: 9

                  • org.openrewrite.java.ReplaceConstantWithAnotherConstant

                    Name

                    Replace constant with another constant

                    Description

                    Replace a constant with another constant, adding/removing import on class if needed.

                    Used Parameters

                    Name Value Description
                    existingFullyQualifiedConstantName
                    org.apache.hc.client5.http.config.CookieSpecs.STANDARD_STRICT
                    fullyQualifiedConstantName
                    org.apache.hc.client5.http.cookie.StandardCookieSpec.STRICT

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.annotation
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.annotation
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.entity
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http.io.entity
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.entity.ContentLengthStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.ContentLengthStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.entity.ContentType
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.ContentType
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.impl.bootstrap
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http.impl.bootstrap
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.impl.execchain
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.impl.classic
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.classic.TunnelRefusedException
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.TunnelRefusedException
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.impl.io
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http.impl.io
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.io.DefaultHttpResponseParserFactory
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.DefaultHttpResponseParserFactory
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.io
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http.io
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.message
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http.message
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.pool
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.pool
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.protocol
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http.protocol
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.protocol.HttpService
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.io.HttpService
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.protocol.HttpRequestExecutor
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.io.HttpRequestExecutor
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.protocol.HttpRequestHandler
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.HttpRequestHandler
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.util
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.util
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.util.EntityUtils
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.entity.EntityUtils
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.http.client.utils.URIBuilder
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.net.URIBuilder
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.http.client.utils.URLEncodedUtils
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.net.URLEncodedUtils
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.http.client.utils.URIUtils
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.utils.URIUtils
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.http.client.utils.DateUtils
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.utils.DateUtils
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.client
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.CredentialsProvider
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.auth.CredentialsProvider
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.AuthCache
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.auth.AuthCache
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.BackoffManager
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.classic.BackoffManager
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.HttpClient
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.classic.HttpClient
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.ConnectionBackoffStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.classic.ConnectionBackoffStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.CookieStore
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.cookie.CookieStore
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.RedirectStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.protocol.RedirectStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.classic.methods.RequestBuilder
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.support.ClassicRequestBuilder
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.config
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http.config
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.config.SocketConfig
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.SocketConfig
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.config.SocketConfig.Builder
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.SocketConfig.Builder
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.impl
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http.impl.io
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.io.EnglishReasonPhraseCatalog
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.EnglishReasonPhraseCatalog
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.io.DefaultConnectionReuseStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.DefaultConnectionReuseStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.io.DefaultHttpRequestFactory
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.nio.DefaultHttpRequestFactory
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.io.DefaultHttpResponseFactory
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.nio.DefaultHttpResponseFactory
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.conn.util
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.psl
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.psl.DnsUtils
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.utils.DnsUtils
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.psl.InetAddressUtils
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.net.InetAddressUtils
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.conn.routing
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.BasicRouteDirector
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.routing.BasicRouteDirector
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.HttpRouteDirector
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.routing.HttpRouteDirector
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.HttpRoutePlanner
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.routing.HttpRoutePlanner
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.conn.ssl
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.ssl
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.ssl.SSLConnectionSocketFactory
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.ssl.NoopHostnameVerifier
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.ssl.NoopHostnameVerifier
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.ssl.DefaultHostnameVerifier
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.ssl.DefaultHostnameVerifier
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.ssl.TrustSelfSignedStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.ssl.TrustSelfSignedStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.ssl.TrustAllStrategy
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.ssl.TrustAllStrategy
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.ssl.SubjectName
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.ssl.SubjectName
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.impl.conn
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http.impl.io
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.SystemDefaultDnsResolver
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.SystemDefaultDnsResolver
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.Wire
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.Wire
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.InMemoryDnsResolver
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.InMemoryDnsResolver
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.ConnectionShutdownException
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.ConnectionShutdownException
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.DefaultSchemePortResolver
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.DefaultSchemePortResolver
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.DefaultProxyRoutePlanner
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.routing.DefaultProxyRoutePlanner
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.DefaultRoutePlanner
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.routing.DefaultRoutePlanner
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.SystemDefaultRoutePlanner
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.routing.SystemDefaultRoutePlanner
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.DefaultHttpResponseParser
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.impl.io.DefaultHttpResponseParser
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.PoolingClientConnectionManager
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManager
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.SchemeRegistryFactory
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.impl.DefaultSchemePortResolver
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http.conn
                    The package name to replace.
                    newPackageName
                    org.apache.hc.client5.http
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.ManagedHttpClientConnection
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.io.ManagedHttpClientConnection
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.HttpClientConnectionManager
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.io.HttpClientConnectionManager
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.HttpClientConnectionOperator
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.client5.http.io.HttpClientConnectionOperator
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.EofSensorWatcher
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.EofSensorWatcher
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.EofSensorInputStream
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.EofSensorInputStream
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.client5.http.HttpConnectionFactory
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.HttpConnectionFactory
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangePackage

                    Name

                    Rename package name

                    Description

                    A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                    Used Parameters

                    Name Value Description
                    oldPackageName
                    org.apache.http
                    The package name to replace.
                    newPackageName
                    org.apache.hc.core5.http
                    New package name to replace the old package name with.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.RequestLine
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.message.RequestLine
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.RequestLine
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.message.RequestLine
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.HttpClientConnection
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.HttpClientConnection
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.StatusLine
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.message.StatusLine
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.HttpServerConnection
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.HttpServerConnection
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.hc.core5.http.HttpConnectionFactory
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.io.HttpConnectionFactory
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.http.HttpRequest
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.ClassicHttpRequest
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ChangeType

                    Name

                    Change type

                    Description

                    Change a given type to another.

                    Used Parameters

                    Name Value Description
                    oldFullyQualifiedTypeName
                    org.apache.http.HttpResponse
                    Fully-qualified class name of the original type.
                    newFullyQualifiedTypeName
                    org.apache.hc.core5.http.ClassicHttpResponse
                    Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                    Depth: 9

                  • org.openrewrite.java.ReorderMethodArguments

                    Name

                    Reorder method arguments

                    Description

                    Reorder method arguments into the specified order.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.core5.http.HttpHost (java.lang.String, int, java.lang.String)
                    A method pattern that is used to find matching method invocations.
                    newParameterNames
                    [Ljava.lang.String;@47b7f1f4
                    An array of parameter names that indicates the new order in which those arguments should be arranged.
                    oldParameterNames
                    [Ljava.lang.String;@4d6c26e6
                    If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

                    Depth: 9

                  • org.openrewrite.java.ReorderMethodArguments

                    Name

                    Reorder method arguments

                    Description

                    Reorder method arguments into the specified order.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.core5.http.HttpHost (java.net.InetAddress, int, java.lang.String)
                    A method pattern that is used to find matching method invocations.
                    newParameterNames
                    [Ljava.lang.String;@21deb63c
                    An array of parameter names that indicates the new order in which those arguments should be arranged.
                    oldParameterNames
                    [Ljava.lang.String;@2bf11136
                    If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

                    Depth: 9

                  • org.openrewrite.java.ReorderMethodArguments

                    Name

                    Reorder method arguments

                    Description

                    Reorder method arguments into the specified order.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.core5.http.HttpHost (java.net.InetAddress, java.lang.String, int, java.lang.String)
                    A method pattern that is used to find matching method invocations.
                    newParameterNames
                    [Ljava.lang.String;@53b17ded
                    An array of parameter names that indicates the new order in which those arguments should be arranged.
                    oldParameterNames
                    [Ljava.lang.String;@7f463a6b
                    If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

                    Depth: 9

                • org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5_DeprecatedMethods

                  Name

                  Migrate to ApacheHttpClient 5.x deprecated methods from 4.x

                  Description

                  Migrates deprecated methods to their equivalent ones in 5.x

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.ChangeMethodName

                    Name

                    Change method name

                    Description

                    Rename a method.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.client5.http.config.RequestConfig.Builder setSocketTimeout(int)
                    A method pattern that is used to find matching method declarations/invocations.
                    newMethodName
                    setResponseTimeout
                    The method name that will replace the existing name.

                    Depth: 9

                • org.openrewrite.apache.httpclient5.UpgradeApacheHttpClient_5_TimeUnit

                  Name

                  Adds `TimeUnit` to timeouts and duration methods

                  Description

                  Apache HttpClient 5.x Timeout and duration methods need an extra the TimeUnit argument. This recipe uses milliseconds as a default unit.

                  Depth: 8

                  Included recipes

                  • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                    Name

                    Adds a TimeUnit argument to the matched method invocations

                    Description

                    In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.client5.http.config.RequestConfig.Builder setConnectionRequestTimeout(int)
                    A method pattern that is used to find matching method invocations.

                    Depth: 9

                  • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                    Name

                    Adds a TimeUnit argument to the matched method invocations

                    Description

                    In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.client5.http.config.RequestConfig.Builder setConnectTimeout(int)
                    A method pattern that is used to find matching method invocations.

                    Depth: 9

                  • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                    Name

                    Adds a TimeUnit argument to the matched method invocations

                    Description

                    In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.client5.http.config.RequestConfig.Builder setResponseTimeout(int)
                    A method pattern that is used to find matching method invocations.

                    Depth: 9

                  • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                    Name

                    Adds a TimeUnit argument to the matched method invocations

                    Description

                    In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.core5.http.io.SocketConfig.Builder setSoLinger(int)
                    A method pattern that is used to find matching method invocations.

                    Depth: 9

                  • org.openrewrite.apache.httpclient5.AddTimeUnitArgument

                    Name

                    Adds a TimeUnit argument to the matched method invocations

                    Description

                    In Apache Http Client 5.x migration, an extra TimeUnit argument is required in the timeout and duration methods. Previously in 4.x, all these methods were implicitly having the timeout or duration expressed in milliseconds, but in 5.x the unit of the timeout or duration is required. So, by default this recipe adds `TimeUnit.MILLISECONDS`, it is possible to specify this as a parameter. Since all affected methods of the Apache Http Client 5.x migration only have one integer/long argument, the recipe applies with matched method invocations of exactly one parameter.

                    Used Parameters

                    Name Value Description
                    methodPattern
                    org.apache.hc.core5.http.io.SocketConfig.Builder setSoTimeout(int)
                    A method pattern that is used to find matching method invocations.

                    Depth: 9

                • org.openrewrite.apache.httpclient5.StatusLine

                  Name

                  Migrate to ApacheHttpClient 5.x deprecated methods from 4.x

                  Description

                  Migrates deprecated methods to their equivalent ones in 5.x

                  Depth: 8

                  Included recipes

                  • org.openrewrite.java.SimplifyMethodChain

                    Name

                    Simplify a call chain

                    Description

                    Simplify `a.b().c()` to `a.d()`.

                    Used Parameters

                    Name Value Description
                    methodPatternChain
                    [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getStatusCode()]
                    A list of method patterns that are called in sequence
                    newMethodName
                    getCode
                    The method name that will replace the existing name. The new method name target is assumed to have the same arguments as the last method in the chain.

                    Depth: 9

                  • org.openrewrite.java.SimplifyMethodChain

                    Name

                    Simplify a call chain

                    Description

                    Simplify `a.b().c()` to `a.d()`.

                    Used Parameters

                    Name Value Description
                    methodPatternChain
                    [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getReasonPhrase()]
                    A list of method patterns that are called in sequence
                    newMethodName
                    getReasonPhrase
                    The method name that will replace the existing name. The new method name target is assumed to have the same arguments as the last method in the chain.

                    Depth: 9

                  • org.openrewrite.java.SimplifyMethodChain

                    Name

                    Simplify a call chain

                    Description

                    Simplify `a.b().c()` to `a.d()`.

                    Used Parameters

                    Name Value Description
                    methodPatternChain
                    [org.apache.hc.core5.http.HttpResponse getStatusLine(), org.apache.hc.core5.http.message.StatusLine getProtocolVersion()]
                    A list of method patterns that are called in sequence
                    newMethodName
                    getVersion
                    The method name that will replace the existing name. The new method name target is assumed to have the same arguments as the last method in the chain.

                    Depth: 9

                  • org.openrewrite.apache.httpclient5.NewStatusLine

                    Name

                    Replaces deprecated `HttpResponse::getStatusLine()`

                    Description

                    `HttpResponse::getStatusLine()` was deprecated in 4.x, so we replace it for `new StatusLine(HttpResponse)`. Ideally we will try to simplify method chains for `getStatusCode`, `getProtocolVersion` and `getReasonPhrase`, but there are some scenarios where the `StatusLine` object is assigned or used directly, and we need to instantiate the object.

                    Depth: 9

                • org.openrewrite.apache.httpclient5.MigrateAuthScope

                  Name

                  Replaces `AuthScope.ANY`

                  Description

                  Replace removed constant `org.apache.http.auth.AuthScope.AuthScope.ANY` with `new org.apache.hc.client5.http.auth.AuthScope(null, -1)`

                  Depth: 8

              • org.openrewrite.java.spring.framework.HttpComponentsClientHttpRequestFactoryReadTimeout

                Name

                Migrate `setReadTimeout(java.lang.int)` to SocketConfig `setSoTimeout(..)`

                Description

                `setReadTimeout(..)` was removed in Spring Framework 6.1.

                Depth: 7

              • org.openrewrite.java.spring.framework.MigrateResponseEntityExceptionHandlerHttpStatusToHttpStatusCode

                Name

                Migrate `ResponseEntityExceptionHandler` from HttpStatus to HttpStatusCode

                Description

                With Spring 6 `HttpStatus` was replaced by `HttpStatusCode` in most method signatures in the `ResponseEntityExceptionHandler`.

                Depth: 7

              • org.openrewrite.java.spring.framework.MigrateResponseStatusException

                Name

                Migrate breaking changes in `ResponseStatusException`

                Description

                Migrate Spring Framework 5.3's `ResponseStatusException` method `getRawStatusCode()` to Spring Framework 6's `getStatusCode().value()` and `ResponseStatusException` method `getStatus()` to Spring Framework 6's `getStatusCode()` .

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.framework.MigrateResponseStatusExceptionGetRawStatusCodeMethod

                  Name

                  Migrate `ResponseStatusException#getRawStatusCode()` to `getStatusCode().value()`

                  Description

                  Migrate Spring Framework 5.3's `ResponseStatusException` method `getRawStatusCode()` to Spring Framework 6's `getStatusCode().value()`.

                  Depth: 8

                • org.openrewrite.java.spring.framework.MigrateResponseStatusExceptionGetStatusCodeMethod

                  Name

                  Migrate `ResponseStatusException#getStatus()` to `getStatusCode()`

                  Description

                  Migrate Spring Framework 5.3's `ResponseStatusException` method `getStatus()` to Spring Framework 6's `getStatusCode()`.

                  Depth: 8

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.springframework
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              *
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              6.1.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.java.RemoveMethodInvocations

              Name

              Remove method invocations

              Description

              Remove method invocations if syntactically safe.

              Used Parameters

              Name Value Description
              methodPattern
              org.springframework.http.client.SimpleClientHttpRequestFactory setOutputStreaming(boolean)
              A pattern to match method invocations for removal.

              Depth: 6

          • org.openrewrite.java.spring.cloud2023.UpgradeSpringCloud_2023

            Name

            Migrate to Spring Cloud 2023

            Description

            Migrate applications to the latest Spring Cloud 2023 release.

            Depth: 5

            Included recipes

            • org.openrewrite.java.spring.cloud2022.UpgradeSpringCloud_2022

              Name

              Migrate to Spring Cloud 2022

              Description

              Migrate applications to the latest Spring Cloud 2022 (Kilburn) release.

              Depth: 6

              Included recipes

              • org.openrewrite.java.spring.cloud2022.DependencyUpgrades

                Name

                Upgrade dependencies to Spring Cloud 2022

                Description

                Upgrade dependencies to Spring Cloud 2022 from prior 2021.x version.

                Depth: 7

                Included recipes

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  *
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  4.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.maven.UpgradeParentVersion

                  Name

                  Upgrade Maven parent project version

                  Description

                  Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                  artifactId
                  spring-cloud-starter-parent
                  The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                  newVersion
                  2022.0.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springframework.cloud
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  spring-cloud-starter-feign
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newArtifactId
                  spring-cloud-starter-openfeign
                  The new artifact ID to use. Defaults to the existing artifact ID.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  spring-cloud-dependencies
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  2022.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  spring-cloud-starter-circuitbreaker-*
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  3.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  spring-cloud-circuitbreaker-*
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  3.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  spring-cloud-starter-kubernetes-*
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  3.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  spring-cloud-kubernetes-*
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  3.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  spring-cloud-starter-task-*
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  3.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

                • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                  Name

                  Upgrade Gradle or Maven dependency versions

                  Description

                  For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  spring-cloud-task-*
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  newVersion
                  3.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  overrideManagedVersion
                  false
                  For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                  Depth: 8

              • org.openrewrite.java.spring.cloud2022.MigrateCloudSleuthToMicrometerTracing

                Name

                Migrate Spring Cloud Sleuth 3.1 to Micrometer Tracing 1.0

                Description

                Spring Cloud Sleuth has been discontinued and only compatible with Spring Boot 2.x.

                Depth: 7

                Included recipes

                • org.openrewrite.java.spring.cloud2022.AddLoggingPatternLevelForSleuth

                  Name

                  Add logging.pattern.level for traceId and spanId

                  Description

                  Add `logging.pattern.level` for traceId and spanId which was previously set by default, if not already set.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springframework.cloud
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  spring-cloud-starter-sleuth
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.micrometer
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  micrometer-tracing-bridge-brave
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  1.0.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springframework.cloud
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  spring-cloud-sleuth-otel-dependencies
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.micrometer
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  micrometer-tracing-bridge-otel
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  1.0.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springframework.cloud
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  spring-cloud-sleuth-api
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.micrometer
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  micrometer-tracing
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  1.0.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springframework.cloud
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  spring-cloud-sleuth-autoconfigure
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  org.springframework.boot
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  spring-boot-actuator-autoconfigure
                  The new artifact ID to use. Defaults to the existing artifact ID.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springframework.cloud
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  spring-cloud-sleuth-otel-autoconfigure
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  org.springframework.boot
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  spring-boot-actuator-autoconfigure
                  The new artifact ID to use. Defaults to the existing artifact ID.

                  Depth: 8

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  org.springframework.cloud
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  spring-cloud-sleuth-zipkin
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.zipkin.reporter2
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  zipkin-reporter-brave
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  2.16.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

                • org.openrewrite.java.dependencies.AddDependency

                  Name

                  Add Gradle or Maven dependency

                  Description

                  For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.boot
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                  artifactId
                  spring-boot-starter-actuator
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                  version
                  3.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  onlyIfUsing
                  org.springframework.cloud.sleuth..*
                  Used to determine if the dependency will be added and in which scope it should be placed.
                  acceptTransitive
                  true
                  Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                  Depth: 8

                • org.openrewrite.java.dependencies.AddDependency

                  Name

                  Add Gradle or Maven dependency

                  Description

                  For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                  Used Parameters

                  Name Value Description
                  groupId
                  io.micrometer
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                  artifactId
                  micrometer-tracing
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                  version
                  1.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  onlyIfUsing
                  org.springframework.cloud.sleuth.annotation.*
                  Used to determine if the dependency will be added and in which scope it should be placed.
                  acceptTransitive
                  true
                  Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                  Depth: 8

                • org.openrewrite.java.dependencies.AddDependency

                  Name

                  Add Gradle or Maven dependency

                  Description

                  For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.boot
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                  artifactId
                  spring-boot-starter-aop
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`
                  version
                  3.0.x
                  An exact version number or node-style semver selector used to select the version number.
                  onlyIfUsing
                  org.springframework.cloud.sleuth.annotation.*
                  Used to determine if the dependency will be added and in which scope it should be placed.
                  acceptTransitive
                  true
                  Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

                  Depth: 8

                • org.openrewrite.java.dependencies.RemoveDependency

                  Name

                  Remove a Gradle or Maven dependency

                  Description

                  For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                  artifactId
                  spring-cloud-sleuth-*
                  The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                  Depth: 8

                • org.openrewrite.maven.RemoveManagedDependency

                  Name

                  Remove Maven managed dependency

                  Description

                  Removes a single managed dependency from the section of the pom.xml.

                  Used Parameters

                  Name Value Description
                  groupId
                  org.springframework.cloud
                  The first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
                  artifactId
                  spring-cloud-sleuth-*
                  The second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.

                  Depth: 8

                • org.openrewrite.maven.RemoveRedundantDependencyVersions

                  Name

                  Remove redundant explicit dependency and plugin versions

                  Description

                  Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

                  Used Parameters

                  Name Value Description
                  groupPattern
                  io.micrometer
                  Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
                  artifactPattern
                  micrometer-tracing*
                  Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
                  onlyIfVersionsMatch
                  false
                  Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.cloud.sleuth.exporter.SpanFilter
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  io.micrometer.tracing.exporter.SpanExportingPredicate
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangeType

                  Name

                  Change type

                  Description

                  Change a given type to another.

                  Used Parameters

                  Name Value Description
                  oldFullyQualifiedTypeName
                  org.springframework.cloud.sleuth.exporter.SpanIgnoringSpanFilter
                  Fully-qualified class name of the original type.
                  newFullyQualifiedTypeName
                  io.micrometer.tracing.exporter.SpanIgnoringSpanExportingPredicate
                  Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                  Depth: 8

                • org.openrewrite.java.ChangePackage

                  Name

                  Rename package name

                  Description

                  A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                  Used Parameters

                  Name Value Description
                  oldPackageName
                  org.springframework.cloud.sleuth.autoconfig
                  The package name to replace.
                  newPackageName
                  org.springframework.boot.actuate.autoconfigure.tracing
                  New package name to replace the old package name with.
                  recursive
                  true
                  Recursively change subpackage names

                  Depth: 8

                • org.openrewrite.java.ChangePackage

                  Name

                  Rename package name

                  Description

                  A recipe that will rename a package name in package statements, imports, and fully-qualified types.

                  Used Parameters

                  Name Value Description
                  oldPackageName
                  org.springframework.cloud.sleuth
                  The package name to replace.
                  newPackageName
                  io.micrometer.tracing
                  New package name to replace the old package name with.
                  recursive
                  true
                  Recursively change subpackage names

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.sleuth.enabled
                  The property key to rename.
                  newPropertyKey
                  management.tracing.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.sleuth.batch.enabled
                  The property key to rename.
                  newPropertyKey
                  management.tracing.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.DeleteSpringProperty

                  Name

                  Delete a spring configuration property

                  Description

                  Delete a spring configuration property from any configuration file that contains a matching key.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.sleuth.supports-join
                  The property key to delete. Supports glob expressions

                  Depth: 8

                • org.openrewrite.java.spring.DeleteSpringProperty

                  Name

                  Delete a spring configuration property

                  Description

                  Delete a spring configuration property from any configuration file that contains a matching key.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.sleuth.trace-id128
                  The property key to delete. Supports glob expressions

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.sleuth.propagation.type
                  The property key to rename.
                  newPropertyKey
                  management.tracing.propagation.type
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.DeleteSpringProperty

                  Name

                  Delete a spring configuration property

                  Description

                  Delete a spring configuration property from any configuration file that contains a matching key.

                  Used Parameters

                  Name Value Description
                  propertyKey
                  spring.sleuth.sampler.rate
                  The property key to delete. Supports glob expressions

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.sleuth.sampler.probability
                  The property key to rename.
                  newPropertyKey
                  management.tracing.sampling.probability
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.sleuth.baggage.remote-fields
                  The property key to rename.
                  newPropertyKey
                  management.tracing.baggage.remote-fields
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.sleuth.propagation-keys
                  The property key to rename.
                  newPropertyKey
                  management.tracing.baggage.remote-fields
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.sleuth.baggage.correlation-enabled
                  The property key to rename.
                  newPropertyKey
                  management.tracing.baggage.correlation.enabled
                  The new name for the property key.

                  Depth: 8

                • org.openrewrite.java.spring.ChangeSpringPropertyKey

                  Name

                  Change the key of a spring application property

                  Description

                  Change spring application property keys existing in either Properties or Yaml files.

                  Used Parameters

                  Name Value Description
                  oldPropertyKey
                  spring.sleuth.baggage.correlation-fields
                  The property key to rename.
                  newPropertyKey
                  management.tracing.baggage.correlation.fields
                  The new name for the property key.

                  Depth: 8

            • org.openrewrite.java.spring.cloud2023.DependencyUpgrades

              Name

              Upgrade dependencies to Spring Cloud 2023

              Description

              Upgrade dependencies to Spring Cloud 2023 from prior 2022.x version.

              Depth: 6

              Included recipes

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                4.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.maven.UpgradeParentVersion

                Name

                Upgrade Maven parent project version

                Description

                Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                artifactId
                spring-cloud-starter-parent
                The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
                newVersion
                2023.0.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                spring-cloud-dependencies
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                2023.0.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                spring-cloud-starter-circuitbreaker-*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                3.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                spring-cloud-circuitbreaker-*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                3.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                spring-cloud-starter-kubernetes-*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                3.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                spring-cloud-kubernetes-*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                3.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                spring-cloud-starter-task-*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                3.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.springframework.cloud
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                spring-cloud-task-*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                3.1.x
                An exact version number or node-style semver selector used to select the version number.
                overrideManagedVersion
                false
                For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

                Depth: 7

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.springframework.boot.task.TaskSchedulerBuilder
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.springframework.boot.task.ThreadPoolTaskExecutorBuilder
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.springframework.boot.task.TaskSchedulerCustomizer
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.springframework.boot.task.ThreadPoolTaskSchedulerCustomizer
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.springframework.boot.task.TaskExecutorBuilder
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.springframework.boot.task.ThreadPoolTaskExecutorBuilder
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.springframework.boot.task.TaskExecutorCustomizer
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.springframework.boot.task.ThreadPoolTaskExecutorCustomizer
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.springframework.boot.autoconfigure.transaction.PlatformTransactionManagerCustomizer
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.springframework.boot.autoconfigure.transaction.TransactionManagerCustomizer
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.springdoc
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            *
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            2.5.x
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

          • org.openrewrite.hibernate.MigrateToHibernate64

            Name

            Migrate to Hibernate 6.4.x

            Description

            This recipe will apply changes commonly needed when migrating to Hibernate 6.4.x.

            Depth: 5

            Included recipes

            • org.openrewrite.hibernate.MigrateToHibernate63

              Name

              Migrate to Hibernate 6.3.x

              Description

              This recipe will apply changes commonly needed when migrating to Hibernate 6.3.x.

              Depth: 6

              Included recipes

              • org.openrewrite.hibernate.MigrateToHypersistenceUtilsHibernate6.2

                Name

                Migrate Hibernate Types to Hypersistence Utils 6.2

                Description

                This recipe will migrate any existing dependencies on `io.hypersistence:hypersistence-utils-hibernate-60` to `io.hypersistence:hypersistence-utils-hibernate-62`.

                Depth: 7

                Included recipes

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  io.hypersistence
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  hypersistence-utils-hibernate-60
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.hypersistence
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  hypersistence-utils-hibernate-62
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  3.7.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.hibernate.MigrateToHypersistenceUtilsHibernate6.3

                Name

                Migrate Hibernate Types to Hypersistence Utils 6.3

                Description

                This recipe will migrate any existing dependencies on `io.hypersistence:hypersistence-utils-hibernate-62` to `io.hypersistence:hypersistence-utils-hibernate-63`.

                Depth: 7

                Included recipes

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  io.hypersistence
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  hypersistence-utils-hibernate-62
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.hypersistence
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  hypersistence-utils-hibernate-63
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  3.8.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.hibernate.orm
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                6.3.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.hibernate.orm
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              *
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              6.4.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.hibernate.RemoveInvalidHibernateGeneratedValueAnnotation

              Name

              Remove invalid `@GeneratedValue` annotation

              Description

              Removes `@GeneratedValue` annotation from fields that are not also annotated with `@Id`.

              Depth: 6

          • org.openrewrite.java.spring.boot3.RelocateLauncherClasses

            Name

            Relocate Launcher Classes

            Description

            Relocate classes that have been moved to different packages in Spring Boot 3.2.

            Depth: 5

            Included recipes

            • org.openrewrite.text.FindAndReplace

              Name

              Find and replace

              Description

              Textual find and replace, optionally interpreting the search query as a Regular Expression (regex). When operating on source files that are language-specific Lossless Semantic Tree, such as Java or XML, this operation converts the source file to plain text for the rest of the recipe run. So if you are combining this recipe with language-specific recipes in a single recipe run put all the language-specific recipes before this recipe.

              Used Parameters

              Name Value Description
              find
              org.springframework.boot.loader.JarLauncher
              The text to find (and replace). This snippet can be multiline.
              replace
              org.springframework.boot.loader.launch.JarLauncher
              The replacement text for `find`. This snippet can be multiline.
              plaintextOnly
              true
              Only alter files that are parsed as plaintext to prevent language-specific LST information loss. Defaults to false.

              Depth: 6

            • org.openrewrite.text.FindAndReplace

              Name

              Find and replace

              Description

              Textual find and replace, optionally interpreting the search query as a Regular Expression (regex). When operating on source files that are language-specific Lossless Semantic Tree, such as Java or XML, this operation converts the source file to plain text for the rest of the recipe run. So if you are combining this recipe with language-specific recipes in a single recipe run put all the language-specific recipes before this recipe.

              Used Parameters

              Name Value Description
              find
              org.springframework.boot.loader.PropertiesLauncher
              The text to find (and replace). This snippet can be multiline.
              replace
              org.springframework.boot.loader.launch.PropertiesLauncher
              The replacement text for `find`. This snippet can be multiline.
              plaintextOnly
              true
              Only alter files that are parsed as plaintext to prevent language-specific LST information loss. Defaults to false.

              Depth: 6

            • org.openrewrite.text.FindAndReplace

              Name

              Find and replace

              Description

              Textual find and replace, optionally interpreting the search query as a Regular Expression (regex). When operating on source files that are language-specific Lossless Semantic Tree, such as Java or XML, this operation converts the source file to plain text for the rest of the recipe run. So if you are combining this recipe with language-specific recipes in a single recipe run put all the language-specific recipes before this recipe.

              Used Parameters

              Name Value Description
              find
              org.springframework.boot.loader.WarLauncher
              The text to find (and replace). This snippet can be multiline.
              replace
              org.springframework.boot.loader.launch.WarLauncher
              The replacement text for `find`. This snippet can be multiline.
              plaintextOnly
              true
              Only alter files that are parsed as plaintext to prevent language-specific LST information loss. Defaults to false.

              Depth: 6

        • org.openrewrite.java.spring.boot3.SpringBootProperties_3_3

          Name

          Migrate Spring Boot properties to 3.3

          Description

          Migrate properties found in `application.properties` and `application.yml`.

          Depth: 4

          Included recipes

          • org.openrewrite.java.spring.ChangeSpringPropertyKey

            Name

            Change the key of a spring application property

            Description

            Change spring application property keys existing in either Properties or Yaml files.

            Used Parameters

            Name Value Description
            oldPropertyKey
            spring.couchbase.env.ssl.key-store
            The property key to rename.
            newPropertyKey
            spring.couchbase.env.ssl.bundle
            The new name for the property key.

            Depth: 5

          • org.openrewrite.java.spring.ChangeSpringPropertyKey

            Name

            Change the key of a spring application property

            Description

            Change spring application property keys existing in either Properties or Yaml files.

            Used Parameters

            Name Value Description
            oldPropertyKey
            spring.couchbase.env.ssl.key-store-password
            The property key to rename.
            newPropertyKey
            spring.couchbase.env.ssl.bundle
            The new name for the property key.

            Depth: 5

          • org.openrewrite.java.spring.ChangeSpringPropertyKey

            Name

            Change the key of a spring application property

            Description

            Change spring application property keys existing in either Properties or Yaml files.

            Used Parameters

            Name Value Description
            oldPropertyKey
            spring.kafka.streams.cache-max-bytes-buffering
            The property key to rename.
            newPropertyKey
            spring.kafka.streams.state-store-cache-max-size
            The new name for the property key.

            Depth: 5

          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

            Name

            Comment out Spring properties

            Description

            Add comment to specified Spring properties, and comment out the property.

            Used Parameters

            Name Value Description
            propertyKey
            management.prometheus.metrics.export.histogram-flavor
            The name of the property key to comment out.
            comment
            This property is deprecated: No longer supported. Works only when using the Prometheus simpleclient.
            Comment to replace the property key.

            Depth: 5

          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

            Name

            Comment out Spring properties

            Description

            Add comment to specified Spring properties, and comment out the property.

            Used Parameters

            Name Value Description
            propertyKey
            spring.flyway.cherry-pick
            The name of the property key to comment out.
            comment
            This property is deprecated: Removed in Flyway 10
            Comment to replace the property key.

            Depth: 5

          • org.openrewrite.java.spring.CommentOutSpringPropertyKey

            Name

            Comment out Spring properties

            Description

            Add comment to specified Spring properties, and comment out the property.

            Used Parameters

            Name Value Description
            propertyKey
            spring.flyway.license-key
            The name of the property key to comment out.
            comment
            This property is deprecated: Removed in Flyway 10
            Comment to replace the property key.

            Depth: 5

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          org.springframework.boot
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          *
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          3.3.x
          An exact version number or node-style semver selector used to select the version number.
          overrideManagedVersion
          false
          For Maven project only, This flag can be set to explicitly override a managed dependency's version. The default for this flag is `false`.

          Depth: 4

        • org.openrewrite.maven.UpgradePluginVersion

          Name

          Upgrade Maven plugin version

          Description

          Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          org.springframework.boot
          The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
          artifactId
          spring-boot-maven-plugin
          The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
          newVersion
          3.3.x
          An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          org.springframework
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          *
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          6.1.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.maven.UpgradeParentVersion

          Name

          Upgrade Maven parent project version

          Description

          Set the parent pom version number according to a [version selector](https://docs.openrewrite.org/reference/dependency-version-selectors) or to a specific version number.

          Used Parameters

          Name Value Description
          groupId
          org.springframework.boot
          The first part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
          artifactId
          spring-boot-starter-parent
          The second part of a dependency coordinate 'org.springframework.boot:spring-boot-parent:VERSION'.
          newVersion
          3.3.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.gradle.plugins.UpgradePluginVersion

          Name

          Update a Gradle plugin by id

          Description

          Update a Gradle plugin by id to a later version.

          Used Parameters

          Name Value Description
          pluginIdPattern
          org.springframework.boot
          The `ID` part of `plugin { ID }`, as a glob expression.
          newVersion
          3.3.x
          An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

          Depth: 4

        • org.openrewrite.micrometer.UpgradeMicrometer_1_13

          Name

          Migrate to Micrometer 1.13

          Description

          Migrate applications to the latest Micrometer 1.13 release. This recipe will modify an application's build files, make changes to deprecated/preferred APIs, and migrate configuration settings that have changes between versions as described in the [Micrometer 1.13 migration guide](https://github.com/micrometer-metrics/micrometer/wiki/1.13-Migration-Guide).

          Depth: 4

          Included recipes

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            io.micrometer
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            *
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            1.13.x
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

          • org.openrewrite.java.ChangePackage

            Name

            Rename package name

            Description

            A recipe that will rename a package name in package statements, imports, and fully-qualified types.

            Used Parameters

            Name Value Description
            oldPackageName
            io.micrometer.prometheus
            The package name to replace.
            newPackageName
            io.micrometer.prometheusmetrics
            New package name to replace the old package name with.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            io.prometheus.client.CollectorRegistry
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            io.prometheus.metrics.model.registry.PrometheusRegistry
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

        • org.openrewrite.gradle.plugins.UpgradePluginVersion

          Name

          Update a Gradle plugin by id

          Description

          Update a Gradle plugin by id to a later version.

          Used Parameters

          Name Value Description
          pluginIdPattern
          org.graalvm.buildtools.native
          The `ID` part of `plugin { ID }`, as a glob expression.
          newVersion
          0.10.x
          An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors). Defaults to `latest.release`.

          Depth: 4

        • org.openrewrite.java.dependencies.ChangeDependency

          Name

          Change Gradle or Maven dependency

          Description

          Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

          Used Parameters

          Name Value Description
          oldGroupId
          com.datastax.oss
          The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
          oldArtifactId
          *
          The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
          newGroupId
          org.apache.cassandra
          The new group ID to use. Defaults to the existing group ID.

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          org.springdoc
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          *
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          2.6.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.hibernate.MigrateToHibernate65

          Name

          Migrate to Hibernate 6.5.x

          Description

          This recipe will apply changes commonly needed when migrating to Hibernate 6.5.x.

          Depth: 4

          Included recipes

          • org.openrewrite.hibernate.MigrateToHibernate64

            Name

            Migrate to Hibernate 6.4.x

            Description

            This recipe will apply changes commonly needed when migrating to Hibernate 6.4.x.

            Depth: 5

            Included recipes

            • org.openrewrite.hibernate.MigrateToHibernate63

              Name

              Migrate to Hibernate 6.3.x

              Description

              This recipe will apply changes commonly needed when migrating to Hibernate 6.3.x.

              Depth: 6

              Included recipes

              • org.openrewrite.hibernate.MigrateToHypersistenceUtilsHibernate6.2

                Name

                Migrate Hibernate Types to Hypersistence Utils 6.2

                Description

                This recipe will migrate any existing dependencies on `io.hypersistence:hypersistence-utils-hibernate-60` to `io.hypersistence:hypersistence-utils-hibernate-62`.

                Depth: 7

                Included recipes

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  io.hypersistence
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  hypersistence-utils-hibernate-60
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.hypersistence
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  hypersistence-utils-hibernate-62
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  3.7.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.hibernate.MigrateToHypersistenceUtilsHibernate6.3

                Name

                Migrate Hibernate Types to Hypersistence Utils 6.3

                Description

                This recipe will migrate any existing dependencies on `io.hypersistence:hypersistence-utils-hibernate-62` to `io.hypersistence:hypersistence-utils-hibernate-63`.

                Depth: 7

                Included recipes

                • org.openrewrite.java.dependencies.ChangeDependency

                  Name

                  Change Gradle or Maven dependency

                  Description

                  Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

                  Used Parameters

                  Name Value Description
                  oldGroupId
                  io.hypersistence
                  The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  oldArtifactId
                  hypersistence-utils-hibernate-62
                  The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
                  newGroupId
                  io.hypersistence
                  The new group ID to use. Defaults to the existing group ID.
                  newArtifactId
                  hypersistence-utils-hibernate-63
                  The new artifact ID to use. Defaults to the existing artifact ID.
                  newVersion
                  3.8.x
                  An exact version number or node-style semver selector used to select the version number.

                  Depth: 8

              • org.openrewrite.java.dependencies.UpgradeDependencyVersion

                Name

                Upgrade Gradle or Maven dependency versions

                Description

                For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

                Used Parameters

                Name Value Description
                groupId
                org.hibernate.orm
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                *
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                newVersion
                6.3.x
                An exact version number or node-style semver selector used to select the version number.

                Depth: 7

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.hibernate.orm
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              *
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              6.4.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.hibernate.RemoveInvalidHibernateGeneratedValueAnnotation

              Name

              Remove invalid `@GeneratedValue` annotation

              Description

              Removes `@GeneratedValue` annotation from fields that are not also annotated with `@Id`.

              Depth: 6

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.hibernate.orm
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            *
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            6.5.x
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

          • org.openrewrite.hibernate.MigrateResultCheckStyleToExpectation

            Name

            Migration of `ResultCheckStyle` to `Expectation`

            Description

            Will migrate the usage of `org.hibernate.annotations.ResultCheckStyle` to `org.hibernate.jdbc.Expectation` in `@SQLInsert`, `@SqlUpdate`, `@SqlDelete` and `@SqlDeleteAll` annotations.

            Depth: 5

      • org.openrewrite.java.dependencies.ChangeDependency

        Name

        Change Gradle or Maven dependency

        Description

        Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

        Used Parameters

        Name Value Description
        oldGroupId
        org.glassfish.web
        The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
        oldArtifactId
        javax.servlet.jsp.jstl
        The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
        newArtifactId
        jakarta.servlet.jsp.jstl
        The new artifact ID to use. Defaults to the existing artifact ID.
        newVersion
        3.0.1
        An exact version number or node-style semver selector used to select the version number.

        Depth: 3

      • org.openrewrite.java.dependencies.ChangeDependency

        Name

        Change Gradle or Maven dependency

        Description

        Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

        Used Parameters

        Name Value Description
        oldGroupId
        javax.servlet.jsp.jstl
        The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
        oldArtifactId
        jstl-api
        The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
        newGroupId
        jakarta.servlet.jsp.jstl
        The new group ID to use. Defaults to the existing group ID.
        newArtifactId
        jakarta.servlet.jsp.jstl-api
        The new artifact ID to use. Defaults to the existing artifact ID.
        newVersion
        3.0.1
        An exact version number or node-style semver selector used to select the version number.

        Depth: 3

      • com.sap.cx.rewrite.tomcat10.FixWebappLoaderSubclassConstructor

        Name

        Adjust WebappLoader subclasses constructor for Tomcat 10 compatibility

        Description

        Updates constructors of WebappLoader subclasses to ensure compatibility with Tomcat 10.x. This recipe modifies subclass constructors to set the parent class loader if the context is present.

        Depth: 3

      • com.sap.cx.rewrite.SpringMultipartResolverSimpleUpdate

        Name

        Update CommonsMultipartResolver to StandardServletMultipartResolver

        Description

        After spring 6 update, the CommonsMultipartResolver is removed and should be replaced with StandardServletMultipartResolver. Currently recipe handles change in usage of CommonsMultipartResolver to StandardServletMultipartResolver, any additional changes in the multipart resolver configuration should be done manually.

        Depth: 3

        Included recipes

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Used Parameters

          Name Value Description
          elementName
          bean
          The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
          attributeName
          class
          The name of the attribute whose value is to be changed.
          newValue
          org.springframework.web.multipart.support.StandardServletMultipartResolver
          The new value to be used for key specified by `attributeName`, Set to null if you want to remove the attribute.
          oldValue
          org.springframework.web.multipart.commons.CommonsMultipartResolver
          Only change the property value if it matches the configured `oldValue`.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.springframework.web.multipart.commons.CommonsMultipartResolver
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.springframework.web.multipart.support.StandardServletMultipartResolver
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

      • com.sap.cx.rewrite.java.jakarta.JakartaServlet5WebXmlNamespacesUpdate

        Name

        Update web.xml namespaces for Jakarta Servlet 5.0

        Description

        Updates web.xml namespaces and version attributes to ensure compatibility with Jakarta Servlet 5.0.

        Depth: 3

        Included recipes

        • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

          Name

          Precondition bellwether

          Description

          Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

          Depth: 4

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Depth: 4

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Depth: 4

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Depth: 4

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Depth: 4

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.springframework.context.support.AbstractApplicationContext destroy()
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        close
        The method name that will replace the existing name.
        matchOverrides
        true
        When enabled, find methods that are overrides of the method pattern.

        Depth: 3

      • com.sap.cx.rewrite.ExtractConstantsRecipe

        Name

        Extract String constants for usage in subsequent recipes

        Description

        Scans all classes to collect static final `String` constants and stores them in the shared recipe execution context.This allows subsequent recipes (e.g. FindInvalidRequestMappingRecipe) to resolve constant references accurately.

        Depth: 3

      • com.sap.cx.rewrite.FindInvalidRequestMappingRecipe

        Name

        Identify invalid @RequestMapping patterns for PathPatternParser

        Description

        Scans Spring MVC annotations such as `@RequestMapping`, `@GetMapping` and related variants to identify path patterns that may be invalid when using `PathPatternParser`. Adds a comment to each potentially invalid mapping, highlighting the need for manual review.

        Depth: 3

      • com.sap.cx.rewrite.FindInvalidMappingForStaticResourcesRecipe

        Name

        Identify invalid resource mappings for PathPatternParser in Spring XML

        Description

        Identifies `` mappings in Spring XML configurations that are not compatible with `PathPatternParser`.Adds a comment to each invalid mapping, indicating it requires manual verification or correction.

        Depth: 3

      • com.sap.cx.rewrite.FindInvalidPatternsInSecuritySchemasRecipe

        Name

        Identify invalid URL patterns in Spring Security XML

        Description

        Scans `` and `` elements in Spring Security XML configuration and identifies invalid `pattern` attributes. Adds a comment to any element where the pattern may be incompatible.

        Depth: 3

      • com.sap.cx.rewrite.ConfigureAccessDecisionManagerRecipe

        Name

        Disable authorization manager when access-decision-manager used in Spring Security XML

        Description

        Updates Spring Security XML configuration by explicitly setting `use-authorization-manager="false"` on `` elements that define `access-decision-manager-ref`.

        Depth: 3

      • com.sap.cx.rewrite.FixMethodSecurityConfigurationRecipe

        Name

        Adjust method-security attributes for Spring Security XML

        Description

        Adjusts the `` element in Spring Security XML configuration after update. Replaces the deprecated `secured-annotations` attribute with the supported `secured-enabled` attribute and ensures `pre-post-enabled="false"` is explicitly set if not present.

        Depth: 3

      • com.sap.cx.rewrite.ChangeTypeParameterInArgumentCaptorForVarargsMethodRecipe

        Name

        Adjust ArgumentCaptor type for varargs method usage

        Description

        Updates `ArgumentCaptor` to `ArgumentCaptor` when used to capture arguments of varargs methods. Also replaces `getAllValues()` with `getValue()` to reflect the correct capture of a single array parameter. Adds a comment for manual verification if the inferred type may not be fully accurate.

        Depth: 3

      • com.sap.cx.rewrite.ReplaceJstlInPropertiesRecipe

        Name

        Update javax.servlet.jsp.jstl to jakarta.servlet.jsp.jstl in properties files

        Description

        Identifies all javax.servlet.jsp.jstl occurrences in properties files and updates it to jakarta.servlet.jsp.jstl.

        Depth: 3

      • com.sap.cx.rewrite.RemoveTrailingSlashFromRequestMappings

        Name

        Remove trailing slashes from Spring mapping paths

        Description

        Removes trailing slashes from path values in Spring mappings annotations.Adds a comment above each changed annotation, highlighting the need for manual review.

        Depth: 3

      • com.sap.cx.rewrite.AddCommentForSpringXMLConfigurationTagsWithTrailingSlash

        Name

        Add a comment above the tag in Spring xml configuration files if the url has a trailing slash

        Description

        Adds a comment above each , , , , , tags in the Spring XML configuration, where the 'pattern' attribute ends with a trailing slash ('/').

        Depth: 3

      • com.sap.cx.rewrite.ReplaceJSTLURIs

        Name

        Replace JSTL URIs

        Description

        Replaces JSTL URIs with the Jakarta equivalent in JSP files for Jakarta EE compatibility.

        Depth: 3

        Included recipes

        • org.openrewrite.text.FindAndReplace

          Name

          Find and replace

          Description

          Textual find and replace, optionally interpreting the search query as a Regular Expression (regex). When operating on source files that are language-specific Lossless Semantic Tree, such as Java or XML, this operation converts the source file to plain text for the rest of the recipe run. So if you are combining this recipe with language-specific recipes in a single recipe run put all the language-specific recipes before this recipe.

          Used Parameters

          Name Value Description
          find
          uri="http://java.sun.com/jsp/jstl/
          The text to find (and replace). This snippet can be multiline.
          replace
          uri="jakarta.tags.
          The replacement text for `find`. This snippet can be multiline.
          filePattern
          **/*.{jsp,tag}
          A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched.

          Depth: 4

      • com.sap.cx.rewrite.ReplaceTagLibraryNamespace

        Name

        Replace Tag Library namespace

        Description

        Sets the `xmlns`, `xmlns:xsi`, `xsi:schemaLocation`, and `version` attributes of the `taglib` element to the new values for Jakarta EE.

        Depth: 3

        Included recipes

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Used Parameters

          Name Value Description
          elementName
          taglib
          The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
          attributeName
          xmlns
          The name of the attribute whose value is to be changed.
          newValue
          https://jakarta.ee/xml/ns/jakartaee
          The new value to be used for key specified by `attributeName`, Set to null if you want to remove the attribute.

          Depth: 4

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Used Parameters

          Name Value Description
          elementName
          taglib
          The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
          attributeName
          xmlns:xsi
          The name of the attribute whose value is to be changed.
          newValue
          https://www.w3.org/2001/XMLSchema-instance
          The new value to be used for key specified by `attributeName`, Set to null if you want to remove the attribute.

          Depth: 4

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Used Parameters

          Name Value Description
          elementName
          taglib
          The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
          attributeName
          xsi:schemaLocation
          The name of the attribute whose value is to be changed.
          newValue
          https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-jsptaglibrary_3_0.xsd
          The new value to be used for key specified by `attributeName`, Set to null if you want to remove the attribute.

          Depth: 4

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Used Parameters

          Name Value Description
          elementName
          taglib
          The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
          attributeName
          version
          The name of the attribute whose value is to be changed.
          newValue
          3.0
          The new value to be used for key specified by `attributeName`, Set to null if you want to remove the attribute.

          Depth: 4

      • com.sap.cx.rewrite.ReplaceJavaxServlet

        Name

        Replace Javax Servlet

        Description

        Replaces references to Javax Servlet with Jakarta Servlet in JSP files to support update to Jakarta EE.

        Depth: 3

        Included recipes

        • org.openrewrite.text.FindAndReplace

          Name

          Find and replace

          Description

          Textual find and replace, optionally interpreting the search query as a Regular Expression (regex). When operating on source files that are language-specific Lossless Semantic Tree, such as Java or XML, this operation converts the source file to plain text for the rest of the recipe run. So if you are combining this recipe with language-specific recipes in a single recipe run put all the language-specific recipes before this recipe.

          Used Parameters

          Name Value Description
          find
          javax.servlet
          The text to find (and replace). This snippet can be multiline.
          replace
          jakarta.servlet
          The replacement text for `find`. This snippet can be multiline.
          filePattern
          **/*.{jsp,tag}
          A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched.

          Depth: 4

      • com.sap.cx.rewrite.ReplaceJavaxValidationInBeansXmlRecipe

        Name

        Update javax.validation to jakarta.validation in beans.xml

        Description

        Updates `beans.xml` files to replace all `javax.validation` imports with `jakarta.validation` to ensure compatibility with Jakarta EE 9.

        Depth: 3

      • com.sap.cx.rewrite.csv.jakarta.JakartaValidationImpexAndCsvUpdate

        Name

        Update impex and CSV files for Jakarta Validation

        Description

        Updates impex and CSV files to use Jakarta Validation namespaces, ensuring compatibility with Jakarta EE 9.

        Depth: 3

        Included recipes

        • org.openrewrite.text.FindAndReplace

          Name

          Find and replace

          Description

          Textual find and replace, optionally interpreting the search query as a Regular Expression (regex). When operating on source files that are language-specific Lossless Semantic Tree, such as Java or XML, this operation converts the source file to plain text for the rest of the recipe run. So if you are combining this recipe with language-specific recipes in a single recipe run put all the language-specific recipes before this recipe.

          Used Parameters

          Name Value Description
          find
          javax.validation
          The text to find (and replace). This snippet can be multiline.
          replace
          jakarta.validation
          The replacement text for `find`. This snippet can be multiline.
          filePattern
          **/*.{csv,impex}
          A glob expression that can be used to constrain which directories or source files should be searched. Multiple patterns may be specified, separated by a semicolon `;`. If multiple patterns are supplied any of the patterns matching will be interpreted as a match. When not set, all source files are searched.

          Depth: 4

      • com.sap.cx.rewrite.properties.jakarta.JakartaValidationPropertiesUpdate

        Name

        Update properties files for Jakarta Validation

        Description

        Updates property keys in .properties files to use Jakarta Validation namespaces for Jakarta EE 9 compatibility.

        Depth: 3

        Included recipes

        • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

          Name

          Precondition bellwether

          Description

          Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

          Depth: 4

        • org.openrewrite.properties.ChangePropertyKey

          Name

          Change property key

          Description

          Change a property key leaving the value intact.

          Depth: 4

      • com.sap.cx.rewrite.ChangeModelAttributeToRequestParamForPrimitives

        Name

        Replace `@ModelAttribute` with `@RequestParam` for primitive parameters in method declaration

        Description

        Replaces `@ModelAttribute` with `@RequestParam` for primitive-type parameters in method declarations. Spring no longer supports binding primitive types (e.g. `int`, `long`) or simple reference types (such as `String`) using `@ModelAttribute`. You need to have in mind that the scope of the request elements that can be bonded to the parameter is more limited for `@RequestParam` than for `@ModelAttribute`.

        Depth: 3

      • com.sap.cx.rewrite.java.spring.RemoveFestUtilsAndFestAssert

        Name

        Change Fest usage to AssertJ

        Description

        Replaces classes and method calls from fest.assertions.* and org.fest.util.* with their AssertJ equivalents, including changing static methods calls e.g. Fail.fail(...) to Assertions.fail(...).

        Depth: 3

        Included recipes

        • com.sap.cx.rewrite.RemoveFestElementsRecipe

          Name

          Remove usage of Fest Collections and Assertions in favor of standard Java collections/IterableUtil and AssertJ equivalents

          Description

          Replaces: - `Collections.set(...)`/`list(...)` with standard Java collections, - `Collections.isEmpty(...)` with `IterableUtil.isNullOrEmpty(...)`, - Fest assertions chain methods: - `onProperty` with `extracting`, - `includes` with `contains`, - `excludes` with `doesNotContain`, and removes the import of org.fest.util.Collections.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.fest.assertions.Assertions
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.assertj.core.api.Assertions
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

        • org.openrewrite.java.ChangeMethodTargetToStatic

          Name

          Change method target to static

          Description

          Change method invocations to static method calls.

          Used Parameters

          Name Value Description
          methodPattern
          org.fest.assertions.MapAssert entry(..)
          A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
          fullyQualifiedTargetTypeName
          org.assertj.core.data.MapEntry
          A fully-qualified class name of the type upon which the static method is defined.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.fest.assertions.MapAssert
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.assertj.core.api.MapAssert
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.fest.assertions.Fail
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.assertj.core.api.Assertions
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.fest.util.Arrays
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.assertj.core.util.Arrays
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.fest.util.Strings
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.assertj.core.util.Strings
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

        • org.openrewrite.java.ChangeMethodName

          Name

          Change method name

          Description

          Rename a method.

          Used Parameters

          Name Value Description
          methodPattern
          org.assertj.core.util.Strings isEmpty(..)
          A method pattern that is used to find matching method declarations/invocations.
          newMethodName
          isNullOrEmpty
          The method name that will replace the existing name.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.fest.util.Strings$StringToAppend
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.assertj.core.util.Strings$StringToAppend
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.fest.util.Strings$StringsToJoin
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.assertj.core.util.Strings$StringsToJoin
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          org.fest.assertions.Condition
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          org.assertj.core.api.Condition
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

      • com.sap.cx.rewrite.FindInvalidHttpClientBuilderConfigurationRecipe

        Name

        Identify invalid HttpClientBuilder usage in Spring XML

        Description

        Identifies XML bean definitions that use `HttpClientBuilder` from Apache HttpClient 4.x and adds comment flagging the need to adjust the configuration for the updated API in Apache HttpClient 5.x.

        Depth: 3

      • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

        Name

        Add a comment above method invocations which match pattern

        Description

        Updates code by adding the specified comment above all method invocations matching the provided pattern.

        Used Parameters

        Name Value Description
        comment
        FRAMEWORK_UPDATE - TODO - This method is deprecated and should be updated manually to the new one
        The comment to add.
        methodPattern
        org.apache.hc.client5.http.classic.HttpClient execute(org.apache.hc.client5.http.classic.methods.HttpUriRequest)
        Pattern to match methods to add the comment to.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.hc.core5.util.EncodingUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.http.util.EncodingUtils
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

        Name

        Add a comment above method invocations which match pattern

        Description

        Updates code by adding the specified comment above all method invocations matching the provided pattern.

        Used Parameters

        Name Value Description
        comment
        FRAMEWORK_UPDATE - TODO - No replacement for this class exist.
        The comment to add.
        methodPattern
        org.apache.http.util.EncodingUtils *(..)
        Pattern to match methods to add the comment to.

        Depth: 3

      • com.sap.cx.rewrite.AdjustApacheClientUsernamePasswordCredentialsCreation

        Name

        Convert String password to char[] in UsernamePasswordCredentials constructor

        Description

        Replaces second argument in UsernamePasswordCredentials(principal, passwordString) and UsernamePasswordCredentials(principalString, passwordString) with passwordString.toCharArray().Required for compatibility with Apache HttpClient 5.x where the constructor expects a char[] password.

        Depth: 3

      • com.sap.cx.rewrite.ReplaceComparisonOfHttpStatusSeries

        Name

        Update comparison of org.springframework.http.HttpStatus.Series and org.springframework.http.HttpStatus#series() to isXxx methods

        Description

        Replaces comparisons of `org.springframework.http.HttpStatus.Series` and calls to `org.springframework.http.HttpStatus#series()` with the corresponding `org.springframework.http.HttpStatus#is1xxInformational`, `is2xxSuccessful`, `is3xxRedirection`, `is4xxClientError`, or `is5xxServerError` methods. For example: - Changes `response.getStatusCode().series() != HttpStatus.Series.SUCCESSFUL` or `!response.getStatusCode().series().equals(HttpStatus.Series.SUCCESSFUL)` to `!response.getStatusCode().is2xxSuccessful()`.

        Depth: 3

      • com.sap.cx.rewrite.java.cache.UpdateEhCacheRegionToDefaultCacheRegion

        Name

        Update SAP Commerce Region EhCacheRegion to DefaultCacheRegion

        Description

        Applies required changes and adds review comments for updating SAP Commerce CacheRegion from EHCacheRegion to the new Caffeine-based DefaultCacheRegion.

        Depth: 3

        Included recipes

        • org.openrewrite.xml.ChangeTagAttribute

          Name

          Change XML attribute

          Description

          Alters XML attribute value on a specified element.

          Used Parameters

          Name Value Description
          elementName
          bean
          The name of the element whose attribute's value is to be changed. Interpreted as an XPath expression.
          attributeName
          class
          The name of the attribute whose value is to be changed.
          newValue
          de.hybris.platform.regioncache.region.impl.DefaultCacheRegion
          The new value to be used for key specified by `attributeName`, Set to null if you want to remove the attribute.
          oldValue
          de.hybris.platform.regioncache.region.impl.EHCacheRegion
          Only change the property value if it matches the configured `oldValue`.

          Depth: 4

        • com.sap.cx.rewrite.CommentOutTag

          Name

          Comment out XML tag matching attribute criteria

          Description

          Comments out an XML child tag when its parent matches the given XPath and the child tag has a specific attribute with a specified value.

          Used Parameters

          Name Value Description
          parentTagXPath
          //bean[@class='de.hybris.platform.regioncache.region.impl.DefaultCacheRegion']
          A pattern to match parent tag containing the child tag which should be commented out.
          childTagName
          constructor-arg
          Name of the child tag which should be commented out.
          childTagAttributeName
          name
          Child tag attribute name to match the child tag.
          childTagAttributeValue
          evictionPolicy
          Child tag attribute value to match the child tag.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveTag

          Name

          Add a comment above XML tag matching attribute criteria

          Description

          Adds a comment above an XML child tag when its parent matches the given XPath and the child tag has a specific attribute with a specified value.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Replace removed 'cacheMap' property with 'max-entries' constructor-arg.
          The comment to add.
          parentTagXPath
          //bean[@class='de.hybris.platform.regioncache.region.impl.DefaultCacheRegion']
          Pattern to match parent tag containing the child tag to which comment should be added.
          childTagName
          property
          Name of the child tag to which comment should be added.
          childTagAttributeName
          name
          Attribute name that the child tag must have for the comment to be added.
          childTagAttributeValue
          cacheMap
          Attribute value that the child tag must have for the comment to be added.

          Depth: 4

        • com.sap.cx.rewrite.CommentOutTag

          Name

          Comment out XML tag matching attribute criteria

          Description

          Comments out an XML child tag when its parent matches the given XPath and the child tag has a specific attribute with a specified value.

          Used Parameters

          Name Value Description
          parentTagXPath
          //bean[@class='de.hybris.platform.regioncache.region.impl.DefaultCacheRegion']
          A pattern to match parent tag containing the child tag which should be commented out.
          childTagName
          property
          Name of the child tag which should be commented out.
          childTagAttributeName
          name
          Child tag attribute name to match the child tag.
          childTagAttributeValue
          cacheMap
          Child tag attribute value to match the child tag.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentToXmlTag

          Name

          Add a comment to an XML tag

          Description

          Adds a comment as the first element in an XML tag.

          Used Parameters

          Name Value Description
          xPath
          //bean[@class='de.hybris.platform.regioncache.region.impl.DefaultCacheRegion']
          An XPath expression used to find matching tags.
          commentText
          FRAMEWORK_UPDATE - TODO - Constructors has been changed. Check if you need to adjust your configuration. Please check update guide for more details.
          The text to add as a comment..

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructor has been removed. Use one of the new constructors.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.DefaultCacheRegion (java.lang.String)
          Pattern to match methods to add the comment to.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructor has been removed. Use one of the new constructors.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.DefaultCacheRegion (java.lang.String,de.hybris.platform.regioncache.region.CacheMap,java.lang.String[])
          Pattern to match methods to add the comment to.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructor has been removed. Use one of the new constructors.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.DefaultCacheRegion (java.lang.String,boolean,boolean)
          Pattern to match methods to add the comment to.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructor has been removed. Use one of the new constructors.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.DefaultCacheRegion (java.lang.String,de.hybris.platform.regioncache.region.CacheMap,de.hybris.platform.regioncache.region.CacheStatistics,java.lang.String[],boolean,boolean)
          Pattern to match methods to add the comment to.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructor has been removed. Use one of the new constructors.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.DefaultCacheRegion (java.lang.String,de.hybris.platform.regioncache.region.CacheMap,de.hybris.platform.regioncache.region.CacheStatistics,java.lang.String[])
          Pattern to match methods to add the comment to.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructor has been removed. Use one of the new constructors.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.DefaultCacheRegion (java.lang.String,int,boolean,java.lang.String,boolean)
          Pattern to match methods to add the comment to.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Class has been removed. Adjust your code.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.DefaultCacheMap *(..)
          Pattern to match methods to add the comment to.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentToXmlTag

          Name

          Add a comment to an XML tag

          Description

          Adds a comment as the first element in an XML tag.

          Used Parameters

          Name Value Description
          xPath
          //ehcache
          An XPath expression used to find matching tags.
          commentText
          FRAMEWORK_UPDATE - TODO - Adjust your Ehcache configuration to Ehcache 3.x.
          The text to add as a comment..

          Depth: 4

        • com.sap.cx.rewrite.AddCommentToProperty

          Name

          Add a comment to matching property in properties file

          Description

          Adds the specified comment above any property that matches the provided regex pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Eviction policy is no longer supported. This property should be removed as it has no effect. Please check update guide for more details.
          The comment to add.
          propertyPattern
          ^regioncache\.[^.]+\.evictionpolicy$
          Regex pattern to match properties that will receive the comment.

          Depth: 4

        • com.sap.cx.rewrite.CommentOutProperty

          Name

          Comment out property

          Description

          Comments out any property which matches the provided regex pattern.

          Used Parameters

          Name Value Description
          propertyPattern
          ^regioncache\.[^.]+\.evictionpolicy$
          Regex pattern to match properties that should be commented out.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructors has been changed. Check if you need to adjust your code. Please check update guide for more details.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.EHCacheRegion (java.lang.String, int, java.lang.String)
          Pattern to match methods to add the comment to.

          Depth: 4

        • org.openrewrite.java.DeleteMethodArgument

          Name

          Delete method argument

          Description

          Delete an argument from method invocations.

          Used Parameters

          Name Value Description
          methodPattern
          de.hybris.platform.regioncache.region.impl.EHCacheRegion (java.lang.String, int, java.lang.String)
          A method pattern that is used to find matching method invocations.
          argumentIndex
          2
          A zero-based index that indicates which argument will be removed from the method invocation.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructors has been changed. Check if you need to adjust your code. Please check update guide for more details.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.EHCacheRegion (java.lang.String, int, java.lang.String, boolean, boolean)
          Pattern to match methods to add the comment to.

          Depth: 4

        • org.openrewrite.java.DeleteMethodArgument

          Name

          Delete method argument

          Description

          Delete an argument from method invocations.

          Used Parameters

          Name Value Description
          methodPattern
          de.hybris.platform.regioncache.region.impl.EHCacheRegion (java.lang.String, int, java.lang.String, boolean, boolean)
          A method pattern that is used to find matching method invocations.
          argumentIndex
          2
          A zero-based index that indicates which argument will be removed from the method invocation.

          Depth: 4

        • com.sap.cx.rewrite.AddCommentAboveMethodInvocation

          Name

          Add a comment above method invocations which match pattern

          Description

          Updates code by adding the specified comment above all method invocations matching the provided pattern.

          Used Parameters

          Name Value Description
          comment
          FRAMEWORK_UPDATE - TODO - Constructors has been changed. Check if you need to adjust your code. Please check update guide for more details.
          The comment to add.
          methodPattern
          de.hybris.platform.regioncache.region.impl.EHCacheRegion (java.lang.String, int, java.lang.String, boolean, boolean, java.lang.Long)
          Pattern to match methods to add the comment to.

          Depth: 4

        • org.openrewrite.java.DeleteMethodArgument

          Name

          Delete method argument

          Description

          Delete an argument from method invocations.

          Used Parameters

          Name Value Description
          methodPattern
          de.hybris.platform.regioncache.region.impl.EHCacheRegion (java.lang.String, int, java.lang.String, boolean, boolean, java.lang.Long)
          A method pattern that is used to find matching method invocations.
          argumentIndex
          2
          A zero-based index that indicates which argument will be removed from the method invocation.

          Depth: 4

        • org.openrewrite.java.ChangeType

          Name

          Change type

          Description

          Change a given type to another.

          Used Parameters

          Name Value Description
          oldFullyQualifiedTypeName
          de.hybris.platform.regioncache.region.impl.EHCacheRegion
          Fully-qualified class name of the original type.
          newFullyQualifiedTypeName
          de.hybris.platform.regioncache.region.impl.DefaultCacheRegion
          Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

          Depth: 4

      • com.sap.cx.rewrite.ReplaceSpringBase64UtilsWithJavaBase64Recipe

        Name

        Replace Spring Base64Utils with Java Base64

        Description

        Replaces deprecated org.springframework.util.Base64Utils with java.util.Base64 class. This recipe handles update from Spring 6.0.5 where Base64Utils was deprecated and then removed in version 6.2.0.

        Depth: 3

      • com.sap.cx.rewrite.java.UpdateShibbolethFromVersion8To9

        Name

        Update Shibboleth to version 9.

        Description

        Updates package names according to changes between Shibboleth in version 8 and 9. Shibboleth 9 is required for OpenSaml in version 5.

        Depth: 3

        Included recipes

        • org.openrewrite.java.ChangePackage

          Name

          Rename package name

          Description

          A recipe that will rename a package name in package statements, imports, and fully-qualified types.

          Used Parameters

          Name Value Description
          oldPackageName
          net.shibboleth.utilities.java.support
          The package name to replace.
          newPackageName
          net.shibboleth.shared
          New package name to replace the old package name with.
          recursive
          true
          Recursively change subpackage names

          Depth: 4

    • com.sap.cx.rewrite.java.testing.mockito.Mockito1to5Migration

      Name

      Mockito 5.x upgrade

      Description

      Upgrade Mockito from 1.x to 5.x.

      Depth: 2

      Included recipes

      • com.sap.cx.rewrite.java.testing.mockito.Mockito1to4Migration

        Name

        Mockito 4.x upgrade

        Description

        Upgrade Mockito from 1.x to 4.x.

        Depth: 3

        Included recipes

        • com.sap.cx.rewrite.java.testing.mockito.Mockito1to3Migration

          Name

          Mockito 3.x migration from 1.x

          Description

          Upgrade Mockito from 1.x to 3.x.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.mockito.MockitoAnnotations.Mock
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.mockito.Mock
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.testing.mockito.AnyToNullable

            Name

            Replace Mockito 1.x `anyString()`/`any()` with `nullable(Class)`

            Description

            Since Mockito 2.10 `anyString()` and `any()` no longer matches null values. Use `nullable(Class)` instead.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.mockito.Matchers
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.mockito.ArgumentMatchers
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyVararg()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            any
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyObject()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            any
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyListOf(java.lang.Class)
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            anyList
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.DeleteMethodArgument

            Name

            Delete method argument

            Description

            Delete an argument from method invocations.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyList(java.lang.Class)
            A method pattern that is used to find matching method invocations.
            argumentIndex
            0
            A zero-based index that indicates which argument will be removed from the method invocation.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anySetOf(java.lang.Class)
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            anySet
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.DeleteMethodArgument

            Name

            Delete method argument

            Description

            Delete an argument from method invocations.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anySet(java.lang.Class)
            A method pattern that is used to find matching method invocations.
            argumentIndex
            0
            A zero-based index that indicates which argument will be removed from the method invocation.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyMapOf(java.lang.Class, java.lang.Class)
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            anyMap
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.DeleteMethodArgument

            Name

            Delete method argument

            Description

            Delete an argument from method invocations.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyMap(java.lang.Class, java.lang.Class)
            A method pattern that is used to find matching method invocations.
            argumentIndex
            0
            A zero-based index that indicates which argument will be removed from the method invocation.

            Depth: 5

          • org.openrewrite.java.DeleteMethodArgument

            Name

            Delete method argument

            Description

            Delete an argument from method invocations.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyMap(java.lang.Class)
            A method pattern that is used to find matching method invocations.
            argumentIndex
            0
            A zero-based index that indicates which argument will be removed from the method invocation.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyCollectionOf(java.lang.Class)
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            anyCollection
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.DeleteMethodArgument

            Name

            Delete method argument

            Description

            Delete an argument from method invocations.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyCollection(java.lang.Class)
            A method pattern that is used to find matching method invocations.
            argumentIndex
            0
            A zero-based index that indicates which argument will be removed from the method invocation.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyIterableOf(java.lang.Class)
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            anyIterable
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.DeleteMethodArgument

            Name

            Delete method argument

            Description

            Delete an argument from method invocations.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers anyIterable(java.lang.Class)
            A method pattern that is used to find matching method invocations.
            argumentIndex
            0
            A zero-based index that indicates which argument will be removed from the method invocation.

            Depth: 5

          • org.openrewrite.java.DeleteMethodArgument

            Name

            Delete method argument

            Description

            Delete an argument from method invocations.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers isNull(java.lang.Class)
            A method pattern that is used to find matching method invocations.
            argumentIndex
            0
            A zero-based index that indicates which argument will be removed from the method invocation.

            Depth: 5

          • org.openrewrite.java.DeleteMethodArgument

            Name

            Delete method argument

            Description

            Delete an argument from method invocations.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.ArgumentMatchers notNull(java.lang.Class)
            A method pattern that is used to find matching method invocations.
            argumentIndex
            0
            A zero-based index that indicates which argument will be removed from the method invocation.

            Depth: 5

          • org.openrewrite.java.ReorderMethodArguments

            Name

            Reorder method arguments

            Description

            Reorder method arguments into the specified order.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.MockedStatic verify(org.mockito.verification.VerificationMode, org.mockito.MockedStatic.Verification)
            A method pattern that is used to find matching method invocations.
            newParameterNames
            [Ljava.lang.String;@2b7d1ce9
            An array of parameter names that indicates the new order in which those arguments should be arranged.
            oldParameterNames
            [Ljava.lang.String;@8a6d011
            If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

            Depth: 5

          • org.openrewrite.java.testing.mockito.VerifyZeroToNoMoreInteractions

            Name

            Replace `verifyZeroInteractions() to `verifyNoMoreInteractions()

            Description

            Replaces `verifyZeroInteractions()` with `verifyNoMoreInteractions()` in Mockito tests when migration when using a Mockito version < 3.x.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.Mockito verifyZeroInteractions(..)
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            verifyNoInteractions
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            org.mockito.invocation.InvocationOnMock getArgumentAt(int, java.lang.Class)
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            getArgument
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.mockito.exceptions.verification.TooLittleActualInvocations
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.mockito.exceptions.verification.TooFewActualInvocations
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.mockito.configuration.AnnotationEngine
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.mockito.plugins.AnnotationEngine
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.mockito.plugins.InstantiatorProvider
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.mockito.plugins.InstantiatorProvider2
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • org.openrewrite.java.ChangeType

            Name

            Change type

            Description

            Change a given type to another.

            Used Parameters

            Name Value Description
            oldFullyQualifiedTypeName
            org.mockito.runners.MockitoJUnitRunner
            Fully-qualified class name of the original type.
            newFullyQualifiedTypeName
            org.mockito.junit.MockitoJUnitRunner
            Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

            Depth: 5

          • com.sap.cx.rewrite.CleanupMockitoImports

            Name

            Cleanup Mockito imports

            Description

            Removes unused `org.mockito` import symbols, unless its possible they are associated with method invocations having null or unknown type information.

            Depth: 5

          • org.openrewrite.java.testing.mockito.MockUtilsToStatic

            Name

            Use static form of Mockito `MockUtil`

            Description

            Best-effort attempt to remove Mockito `MockUtil` instances.

            Depth: 5

          • org.openrewrite.java.testing.mockito.ReplacePowerMockito

            Name

            Replace PowerMock with raw Mockito

            Description

            PowerMockito with raw Mockito; best executed as part of a Mockito upgrade.

            Depth: 5

            Included recipes

            • org.openrewrite.java.RemoveAnnotation

              Name

              Remove annotation

              Description

              Remove matching annotations wherever they occur.

              Used Parameters

              Name Value Description
              annotationPattern
              @org.powermock.core.classloader.annotations.PowerMockIgnore
              An annotation pattern, expressed as a method pattern.

              Depth: 6

            • org.openrewrite.java.ChangeMethodTargetToStatic

              Name

              Change method target to static

              Description

              Change method invocations to static method calls.

              Used Parameters

              Name Value Description
              methodPattern
              org.powermock.api.mockito.PowerMockito mockStatic(..)
              A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
              fullyQualifiedTargetTypeName
              org.mockito.Mockito
              A fully-qualified class name of the type upon which the static method is defined.
              returnType
              org.mockito.MockedStatic
              Sometimes changing the target type also changes the return type. In the Guava example, changing from `ImmutableSet#of(..)` to `Set#of(..)` widens the return type from Guava's `ImmutableSet` to just `java.util.Set`.

              Depth: 6

            • org.openrewrite.java.ChangeMethodTargetToStatic

              Name

              Change method target to static

              Description

              Change method invocations to static method calls.

              Used Parameters

              Name Value Description
              methodPattern
              org.powermock.api.mockito.PowerMockito do*(..)
              A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
              fullyQualifiedTargetTypeName
              org.mockito.Mockito
              A fully-qualified class name of the type upon which the static method is defined.

              Depth: 6

            • org.openrewrite.java.ChangeMethodTargetToStatic

              Name

              Change method target to static

              Description

              Change method invocations to static method calls.

              Used Parameters

              Name Value Description
              methodPattern
              org.powermock.api.mockito.PowerMockito mock(..)
              A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
              fullyQualifiedTargetTypeName
              org.mockito.Mockito
              A fully-qualified class name of the type upon which the static method is defined.

              Depth: 6

            • org.openrewrite.java.ChangeMethodTargetToStatic

              Name

              Change method target to static

              Description

              Change method invocations to static method calls.

              Used Parameters

              Name Value Description
              methodPattern
              org.powermock.api.mockito.PowerMockito spy(..)
              A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
              fullyQualifiedTargetTypeName
              org.mockito.Mockito
              A fully-qualified class name of the type upon which the static method is defined.

              Depth: 6

            • org.openrewrite.java.ChangeMethodTargetToStatic

              Name

              Change method target to static

              Description

              Change method invocations to static method calls.

              Used Parameters

              Name Value Description
              methodPattern
              org.powermock.api.mockito.PowerMockito when(..)
              A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
              fullyQualifiedTargetTypeName
              org.mockito.Mockito
              A fully-qualified class name of the type upon which the static method is defined.

              Depth: 6

            • org.openrewrite.java.testing.mockito.PowerMockitoMockStaticToMockito

              Name

              Replace `PowerMock.mockStatic()` with `Mockito.mockStatic()`

              Description

              Replaces `PowerMockito.mockStatic()` by `Mockito.mockStatic()`. Removes the `@PrepareForTest` annotation.

              Depth: 6

            • org.openrewrite.java.dependencies.RemoveDependency

              Name

              Remove a Gradle or Maven dependency

              Description

              For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

              Used Parameters

              Name Value Description
              groupId
              org.powermock
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              powermock-api-mockito*
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

              Depth: 6

            • org.openrewrite.java.dependencies.RemoveDependency

              Name

              Remove a Gradle or Maven dependency

              Description

              For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

              Used Parameters

              Name Value Description
              groupId
              org.powermock
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              powermock-core
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

              Depth: 6

          • org.openrewrite.java.dependencies.AddDependency

            Name

            Add Gradle or Maven dependency

            Description

            For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

            Used Parameters

            Name Value Description
            groupId
            org.mockito
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
            artifactId
            mockito-junit-jupiter
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`
            version
            3.x
            An exact version number or node-style semver selector used to select the version number.
            onlyIfUsing
            org.mockito.junit.jupiter.*
            Used to determine if the dependency will be added and in which scope it should be placed.
            acceptTransitive
            true
            Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

            Depth: 5

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.mockito
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            *
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            3.x
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

          • org.openrewrite.java.dependencies.ChangeDependency

            Name

            Change Gradle or Maven dependency

            Description

            Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

            Used Parameters

            Name Value Description
            oldGroupId
            org.mockito
            The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
            oldArtifactId
            mockito-all
            The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
            newArtifactId
            mockito-core
            The new artifact ID to use. Defaults to the existing artifact ID.

            Depth: 5

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            net.bytebuddy
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            byte-buddy*
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            1.11.13
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

        • com.sap.cx.rewrite.MockitoWhenOnStaticToMockStatic

          Name

          Replace `Mockito.when` on static (non mock) calls with try-with-resource with MockedStatic

          Description

          Replaces `Mockito.when(...)` calls on static methods (non mock) with the recommended `MockedStatic` try-with-resources syntax. This is required because Mockito 4 no longer supports `when()` on static method calls directly. This recipe also fixes missing imports and removes unused ones.

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          org.mockito
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          *
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          4.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          net.bytebuddy
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          byte-buddy*
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          1.12.19
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

      • com.sap.cx.rewrite.java.testing.mockito.Mockito4to5Only

        Name

        Mockito 4 to 5.x upgrade only

        Description

        Upgrade Mockito from 4.x to 5.x. Does not include 1.x to 4.x migration.

        Depth: 3

        Included recipes

        • com.sap.cx.rewrite.java.testing.mockito.Mockito1to4Migration

          Name

          Mockito 4.x upgrade

          Description

          Upgrade Mockito from 1.x to 4.x.

          Depth: 4

          Included recipes

          • com.sap.cx.rewrite.java.testing.mockito.Mockito1to3Migration

            Name

            Mockito 3.x migration from 1.x

            Description

            Upgrade Mockito from 1.x to 3.x.

            Depth: 5

            Included recipes

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              org.mockito.MockitoAnnotations.Mock
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              org.mockito.Mock
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.testing.mockito.AnyToNullable

              Name

              Replace Mockito 1.x `anyString()`/`any()` with `nullable(Class)`

              Description

              Since Mockito 2.10 `anyString()` and `any()` no longer matches null values. Use `nullable(Class)` instead.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              org.mockito.Matchers
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              org.mockito.ArgumentMatchers
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyVararg()
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              any
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyObject()
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              any
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyListOf(java.lang.Class)
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              anyList
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.DeleteMethodArgument

              Name

              Delete method argument

              Description

              Delete an argument from method invocations.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyList(java.lang.Class)
              A method pattern that is used to find matching method invocations.
              argumentIndex
              0
              A zero-based index that indicates which argument will be removed from the method invocation.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anySetOf(java.lang.Class)
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              anySet
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.DeleteMethodArgument

              Name

              Delete method argument

              Description

              Delete an argument from method invocations.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anySet(java.lang.Class)
              A method pattern that is used to find matching method invocations.
              argumentIndex
              0
              A zero-based index that indicates which argument will be removed from the method invocation.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyMapOf(java.lang.Class, java.lang.Class)
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              anyMap
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.DeleteMethodArgument

              Name

              Delete method argument

              Description

              Delete an argument from method invocations.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyMap(java.lang.Class, java.lang.Class)
              A method pattern that is used to find matching method invocations.
              argumentIndex
              0
              A zero-based index that indicates which argument will be removed from the method invocation.

              Depth: 6

            • org.openrewrite.java.DeleteMethodArgument

              Name

              Delete method argument

              Description

              Delete an argument from method invocations.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyMap(java.lang.Class)
              A method pattern that is used to find matching method invocations.
              argumentIndex
              0
              A zero-based index that indicates which argument will be removed from the method invocation.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyCollectionOf(java.lang.Class)
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              anyCollection
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.DeleteMethodArgument

              Name

              Delete method argument

              Description

              Delete an argument from method invocations.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyCollection(java.lang.Class)
              A method pattern that is used to find matching method invocations.
              argumentIndex
              0
              A zero-based index that indicates which argument will be removed from the method invocation.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyIterableOf(java.lang.Class)
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              anyIterable
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.DeleteMethodArgument

              Name

              Delete method argument

              Description

              Delete an argument from method invocations.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers anyIterable(java.lang.Class)
              A method pattern that is used to find matching method invocations.
              argumentIndex
              0
              A zero-based index that indicates which argument will be removed from the method invocation.

              Depth: 6

            • org.openrewrite.java.DeleteMethodArgument

              Name

              Delete method argument

              Description

              Delete an argument from method invocations.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers isNull(java.lang.Class)
              A method pattern that is used to find matching method invocations.
              argumentIndex
              0
              A zero-based index that indicates which argument will be removed from the method invocation.

              Depth: 6

            • org.openrewrite.java.DeleteMethodArgument

              Name

              Delete method argument

              Description

              Delete an argument from method invocations.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.ArgumentMatchers notNull(java.lang.Class)
              A method pattern that is used to find matching method invocations.
              argumentIndex
              0
              A zero-based index that indicates which argument will be removed from the method invocation.

              Depth: 6

            • org.openrewrite.java.ReorderMethodArguments

              Name

              Reorder method arguments

              Description

              Reorder method arguments into the specified order.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.MockedStatic verify(org.mockito.verification.VerificationMode, org.mockito.MockedStatic.Verification)
              A method pattern that is used to find matching method invocations.
              newParameterNames
              [Ljava.lang.String;@2b7d1ce9
              An array of parameter names that indicates the new order in which those arguments should be arranged.
              oldParameterNames
              [Ljava.lang.String;@8a6d011
              If the original method signature is not type-attributed, this is an optional list that indicates the original order in which the arguments were arranged.

              Depth: 6

            • org.openrewrite.java.testing.mockito.VerifyZeroToNoMoreInteractions

              Name

              Replace `verifyZeroInteractions() to `verifyNoMoreInteractions()

              Description

              Replaces `verifyZeroInteractions()` with `verifyNoMoreInteractions()` in Mockito tests when migration when using a Mockito version < 3.x.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.Mockito verifyZeroInteractions(..)
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              verifyNoInteractions
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              org.mockito.invocation.InvocationOnMock getArgumentAt(int, java.lang.Class)
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              getArgument
              The method name that will replace the existing name.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              org.mockito.exceptions.verification.TooLittleActualInvocations
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              org.mockito.exceptions.verification.TooFewActualInvocations
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              org.mockito.configuration.AnnotationEngine
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              org.mockito.plugins.AnnotationEngine
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              org.mockito.plugins.InstantiatorProvider
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              org.mockito.plugins.InstantiatorProvider2
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              org.mockito.runners.MockitoJUnitRunner
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              org.mockito.junit.MockitoJUnitRunner
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • com.sap.cx.rewrite.CleanupMockitoImports

              Name

              Cleanup Mockito imports

              Description

              Removes unused `org.mockito` import symbols, unless its possible they are associated with method invocations having null or unknown type information.

              Depth: 6

            • org.openrewrite.java.testing.mockito.MockUtilsToStatic

              Name

              Use static form of Mockito `MockUtil`

              Description

              Best-effort attempt to remove Mockito `MockUtil` instances.

              Depth: 6

            • org.openrewrite.java.testing.mockito.ReplacePowerMockito

              Name

              Replace PowerMock with raw Mockito

              Description

              PowerMockito with raw Mockito; best executed as part of a Mockito upgrade.

              Depth: 6

              Included recipes

              • org.openrewrite.java.RemoveAnnotation

                Name

                Remove annotation

                Description

                Remove matching annotations wherever they occur.

                Used Parameters

                Name Value Description
                annotationPattern
                @org.powermock.core.classloader.annotations.PowerMockIgnore
                An annotation pattern, expressed as a method pattern.

                Depth: 7

              • org.openrewrite.java.ChangeMethodTargetToStatic

                Name

                Change method target to static

                Description

                Change method invocations to static method calls.

                Used Parameters

                Name Value Description
                methodPattern
                org.powermock.api.mockito.PowerMockito mockStatic(..)
                A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                fullyQualifiedTargetTypeName
                org.mockito.Mockito
                A fully-qualified class name of the type upon which the static method is defined.
                returnType
                org.mockito.MockedStatic
                Sometimes changing the target type also changes the return type. In the Guava example, changing from `ImmutableSet#of(..)` to `Set#of(..)` widens the return type from Guava's `ImmutableSet` to just `java.util.Set`.

                Depth: 7

              • org.openrewrite.java.ChangeMethodTargetToStatic

                Name

                Change method target to static

                Description

                Change method invocations to static method calls.

                Used Parameters

                Name Value Description
                methodPattern
                org.powermock.api.mockito.PowerMockito do*(..)
                A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                fullyQualifiedTargetTypeName
                org.mockito.Mockito
                A fully-qualified class name of the type upon which the static method is defined.

                Depth: 7

              • org.openrewrite.java.ChangeMethodTargetToStatic

                Name

                Change method target to static

                Description

                Change method invocations to static method calls.

                Used Parameters

                Name Value Description
                methodPattern
                org.powermock.api.mockito.PowerMockito mock(..)
                A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                fullyQualifiedTargetTypeName
                org.mockito.Mockito
                A fully-qualified class name of the type upon which the static method is defined.

                Depth: 7

              • org.openrewrite.java.ChangeMethodTargetToStatic

                Name

                Change method target to static

                Description

                Change method invocations to static method calls.

                Used Parameters

                Name Value Description
                methodPattern
                org.powermock.api.mockito.PowerMockito spy(..)
                A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                fullyQualifiedTargetTypeName
                org.mockito.Mockito
                A fully-qualified class name of the type upon which the static method is defined.

                Depth: 7

              • org.openrewrite.java.ChangeMethodTargetToStatic

                Name

                Change method target to static

                Description

                Change method invocations to static method calls.

                Used Parameters

                Name Value Description
                methodPattern
                org.powermock.api.mockito.PowerMockito when(..)
                A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
                fullyQualifiedTargetTypeName
                org.mockito.Mockito
                A fully-qualified class name of the type upon which the static method is defined.

                Depth: 7

              • org.openrewrite.java.testing.mockito.PowerMockitoMockStaticToMockito

                Name

                Replace `PowerMock.mockStatic()` with `Mockito.mockStatic()`

                Description

                Replaces `PowerMockito.mockStatic()` by `Mockito.mockStatic()`. Removes the `@PrepareForTest` annotation.

                Depth: 7

              • org.openrewrite.java.dependencies.RemoveDependency

                Name

                Remove a Gradle or Maven dependency

                Description

                For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                Used Parameters

                Name Value Description
                groupId
                org.powermock
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                powermock-api-mockito*
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                Depth: 7

              • org.openrewrite.java.dependencies.RemoveDependency

                Name

                Remove a Gradle or Maven dependency

                Description

                For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

                Used Parameters

                Name Value Description
                groupId
                org.powermock
                The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
                artifactId
                powermock-core
                The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

                Depth: 7

            • org.openrewrite.java.dependencies.AddDependency

              Name

              Add Gradle or Maven dependency

              Description

              For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

              Used Parameters

              Name Value Description
              groupId
              org.mockito
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactId
              mockito-junit-jupiter
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`
              version
              3.x
              An exact version number or node-style semver selector used to select the version number.
              onlyIfUsing
              org.mockito.junit.jupiter.*
              Used to determine if the dependency will be added and in which scope it should be placed.
              acceptTransitive
              true
              Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

              Depth: 6

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.mockito
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              *
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              3.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.java.dependencies.ChangeDependency

              Name

              Change Gradle or Maven dependency

              Description

              Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

              Used Parameters

              Name Value Description
              oldGroupId
              org.mockito
              The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
              oldArtifactId
              mockito-all
              The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
              newArtifactId
              mockito-core
              The new artifact ID to use. Defaults to the existing artifact ID.

              Depth: 6

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              net.bytebuddy
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              byte-buddy*
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              1.11.13
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

          • com.sap.cx.rewrite.MockitoWhenOnStaticToMockStatic

            Name

            Replace `Mockito.when` on static (non mock) calls with try-with-resource with MockedStatic

            Description

            Replaces `Mockito.when(...)` calls on static methods (non mock) with the recommended `MockedStatic` try-with-resources syntax. This is required because Mockito 4 no longer supports `when()` on static method calls directly. This recipe also fixes missing imports and removes unused ones.

            Depth: 5

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.mockito
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            *
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            4.x
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

          • org.openrewrite.java.dependencies.UpgradeDependencyVersion

            Name

            Upgrade Gradle or Maven dependency versions

            Description

            For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            net.bytebuddy
            The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            artifactId
            byte-buddy*
            The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
            newVersion
            1.12.19
            An exact version number or node-style semver selector used to select the version number.

            Depth: 5

        • org.openrewrite.java.dependencies.ChangeDependency

          Name

          Change Gradle or Maven dependency

          Description

          Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

          Used Parameters

          Name Value Description
          oldGroupId
          org.mockito
          The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
          oldArtifactId
          mockito-inline
          The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
          newArtifactId
          mockito-core
          The new artifact ID to use. Defaults to the existing artifact ID.

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          org.mockito
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          *
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          5.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          net.bytebuddy
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          byte-buddy*
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          1.15.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.maven.RemoveDuplicateDependencies

          Name

          Remove duplicate Maven dependencies

          Description

          Removes duplicated dependencies in the `` and `` sections of the `pom.xml`.

          Depth: 4

    • com.sap.cx.rewrite.java.migrate.UpgradeToJava21

      Name

      Migrate to Java 21

      Description

      This recipe will apply changes commonly needed when migrating to Java 21. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy. Build files will also be updated to use Java 21 as the target/source and plugins will be also be upgraded to versions that are compatible with Java 21.

      Depth: 2

      Included recipes

      • com.sap.cx.rewrite.java.migrate.UpgradeToJava17

        Name

        Migrate to Java 17

        Description

        This recipe will apply changes commonly needed when migrating to Java 17. Specifically, for those applications that are built on Java 8, this recipe will update and add dependencies on J2EE libraries that are no longer directly bundled with the JDK. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy. Build files will also be updated to use Java 17 as the target/source and plugins will be also be upgraded to versions that are compatible with Java 17.

        Depth: 3

        Included recipes

        • com.sap.cx.rewrite.java.migrate.Java8toJava11

          Name

          Migrate to Java 11

          Description

          This recipe will apply changes commonly needed when upgrading to Java 11. Specifically, for those applications that are built on Java 8, this recipe will update and add dependencies on J2EE libraries that are no longer directly bundled with the JDK. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy. Build files will also be updated to use Java 11 as the target/source and plugins will be also be upgraded to versions that are compatible with Java 11.

          Depth: 4

          Included recipes

          • com.sap.cx.rewrite.java.migrate.UpgradeToJava8

            Name

            Migrate to Java 8

            Description

            This recipe will apply changes commonly needed when upgrading to Java 8. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy.

            Depth: 5

            Included recipes

            • com.sap.cx.rewrite.java.migrate.UpgradeToJava7

              Name

              Migrate to Java 7

              Description

              This recipe will apply changes commonly needed when upgrading to Java 7. This recipe will also replace deprecated API with equivalents when there is a clear migration strategy.

              Depth: 6

              Included recipes

              • org.openrewrite.java.migrate.JREThrowableFinalMethods

                Name

                Rename final method declarations `getSuppressed()` and `addSuppressed(Throwable exception)` in classes that extend `Throwable`

                Description

                The recipe renames `getSuppressed()` and `addSuppressed(Throwable exception)` methods in classes that extend `java.lang.Throwable` to `myGetSuppressed` and `myAddSuppressed(Throwable)`.These methods were added to Throwable in Java 7 and are marked final which cannot be overridden.

                Depth: 7

              • org.openrewrite.java.migrate.util.ReplaceMathRandomWithThreadLocalRandomRecipe

                Name

                Replace `java.lang.Math random()` with `ThreadLocalRandom nextDouble()`

                Description

                Replace `java.lang.Math random()` with `ThreadLocalRandom nextDouble()` to reduce contention.

                Depth: 7

            • org.openrewrite.java.migrate.MXBeanRule

              Name

              MBean and MXBean interfaces must be public

              Description

              Sets visibility of MBean and MXBean interfaces to public.

              Depth: 6

            • org.openrewrite.java.RemoveMethodInvocations

              Name

              Remove method invocations

              Description

              Remove method invocations if syntactically safe.

              Used Parameters

              Name Value Description
              methodPattern
              java.lang.Thread destroy()
              A pattern to match method invocations for removal.

              Depth: 6

          • org.openrewrite.java.migrate.UseJavaUtilBase64

            Name

            Prefer `java.util.Base64` instead of `sun.misc`

            Description

            Prefer `java.util.Base64` instead of using `sun.misc` in Java 8 or higher. `sun.misc` is not exported by the Java module system and accessing this class will result in a warning in Java 11 and an error in Java 17.

            Used Parameters

            Name Value Description
            useMimeCoder
            false
            Use `Base64.getMimeEncoder()/getMimeDecoder()` instead of `Base64.getEncoder()/getDecoder()`.

            Depth: 5

          • org.openrewrite.java.migrate.javax.AddJaxbDependencies

            Name

            Add explicit JAXB dependencies

            Description

            This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAXB. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 version 2.x which allows for the continued use of the `javax.xml.bind` namespace. Running a full javax to Jakarta migration using `org.openrewrite.java.migrate.jakarta.JavaxMigrationToJakarta` will update to versions greater than 3.x which necessitates the package change as well.

            Depth: 5

            Included recipes

            • org.openrewrite.java.dependencies.RemoveDependency

              Name

              Remove a Gradle or Maven dependency

              Description

              For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

              Used Parameters

              Name Value Description
              groupId
              com.sun.xml.bind
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              jaxb-core
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

              Depth: 6

            • org.openrewrite.maven.RemoveManagedDependency

              Name

              Remove Maven managed dependency

              Description

              Removes a single managed dependency from the section of the pom.xml.

              Used Parameters

              Name Value Description
              groupId
              com.sun.xml.bind
              The first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
              artifactId
              jaxb-core
              The second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.

              Depth: 6

            • org.openrewrite.java.dependencies.ChangeDependency

              Name

              Change Gradle or Maven dependency

              Description

              Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

              Used Parameters

              Name Value Description
              oldGroupId
              javax.xml.bind
              The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
              oldArtifactId
              jaxb-api
              The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
              newGroupId
              jakarta.xml.bind
              The new group ID to use. Defaults to the existing group ID.
              newArtifactId
              jakarta.xml.bind-api
              The new artifact ID to use. Defaults to the existing artifact ID.
              newVersion
              2.3.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

              Name

              Change Maven managed dependency groupId, artifactId and optionally the version

              Description

              Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

              Used Parameters

              Name Value Description
              oldGroupId
              javax.xml.bind
              The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
              oldArtifactId
              jaxb-api
              The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
              newGroupId
              jakarta.xml.bind
              The new groupId to use.
              newArtifactId
              jakarta.xml.bind-api
              The new artifactId to use.
              newVersion
              2.3.x
              The new version to use.

              Depth: 6

            • org.openrewrite.java.dependencies.AddDependency

              Name

              Add Gradle or Maven dependency

              Description

              For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

              Used Parameters

              Name Value Description
              groupId
              jakarta.xml.bind
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactId
              jakarta.xml.bind-api
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`
              version
              2.3.x
              An exact version number or node-style semver selector used to select the version number.
              onlyIfUsing
              javax.xml.bind..*
              Used to determine if the dependency will be added and in which scope it should be placed.
              acceptTransitive
              true
              Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

              Depth: 6

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              jakarta.xml.bind
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              jakarta.xml.bind-api
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              2.3.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.java.migrate.javax.AddJaxbRuntime

              Name

              Use latest JAXB API and runtime for Jakarta EE 8

              Description

              Update build files to use the latest JAXB runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAXB run-time, in Gradle `compileOnly`+`testImplementation` and Maven `provided` scope, to any project that has a transitive dependency on the JAXB API. **The resulting dependencies still use the `javax` namespace, despite the move to the Jakarta artifact**.

              Used Parameters

              Name Value Description
              runtime
              glassfish
              Which implementation of the JAXB run-time that will be added to maven projects that have transitive dependencies on the JAXB API

              Depth: 6

            • org.openrewrite.maven.RemoveRedundantDependencyVersions

              Name

              Remove redundant explicit dependency and plugin versions

              Description

              Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

              Used Parameters

              Name Value Description
              groupPattern
              org.glassfish.jaxb
              Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactPattern
              *
              Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
              onlyIfVersionsMatch
              true
              Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

              Depth: 6

            • org.openrewrite.maven.RemoveRedundantDependencyVersions

              Name

              Remove redundant explicit dependency and plugin versions

              Description

              Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

              Used Parameters

              Name Value Description
              groupPattern
              com.sun.xml.bind
              Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactPattern
              *
              Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
              onlyIfVersionsMatch
              true
              Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

              Depth: 6

            • org.openrewrite.maven.RemoveRedundantDependencyVersions

              Name

              Remove redundant explicit dependency and plugin versions

              Description

              Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

              Used Parameters

              Name Value Description
              groupPattern
              jakarta.xml.bind
              Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactPattern
              *
              Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
              onlyIfVersionsMatch
              true
              Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

              Depth: 6

            • org.openrewrite.maven.UpgradePluginVersion

              Name

              Upgrade Maven plugin version

              Description

              Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.codehaus.mojo
              The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
              artifactId
              jaxb2-maven-plugin
              The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
              newVersion
              2.5.x
              An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

              Depth: 6

          • org.openrewrite.java.migrate.javax.AddJaxwsDependencies

            Name

            Add explicit JAX-WS dependencies

            Description

            This recipe will add explicit dependencies for Jakarta EE 8 when a Java 8 application is using JAX-WS. Any existing dependencies will be upgraded to the latest version of Jakarta EE 8. The artifacts are moved to Jakarta EE 8 but the application can continue to use the `javax.xml.bind` namespace.

            Depth: 5

            Included recipes

            • org.openrewrite.java.dependencies.RemoveDependency

              Name

              Remove a Gradle or Maven dependency

              Description

              For Gradle project, removes a single dependency from the dependencies section of the `build.gradle`. For Maven project, removes a single dependency from the section of the pom.xml.

              Used Parameters

              Name Value Description
              groupId
              com.sun.xml.ws
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              jaxws-ri
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.

              Depth: 6

            • org.openrewrite.maven.RemoveManagedDependency

              Name

              Remove Maven managed dependency

              Description

              Removes a single managed dependency from the section of the pom.xml.

              Used Parameters

              Name Value Description
              groupId
              com.sun.xml.ws
              The first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
              artifactId
              jaxws-ri
              The second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.

              Depth: 6

            • org.openrewrite.java.dependencies.ChangeDependency

              Name

              Change Gradle or Maven dependency

              Description

              Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

              Used Parameters

              Name Value Description
              oldGroupId
              javax.xml.ws
              The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
              oldArtifactId
              jaxws-api
              The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
              newGroupId
              jakarta.xml.ws
              The new group ID to use. Defaults to the existing group ID.
              newArtifactId
              jakarta.xml.ws-api
              The new artifact ID to use. Defaults to the existing artifact ID.
              newVersion
              2.3.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.maven.ChangeManagedDependencyGroupIdAndArtifactId

              Name

              Change Maven managed dependency groupId, artifactId and optionally the version

              Description

              Change the groupId, artifactId and optionally the version of a specified Maven managed dependency.

              Used Parameters

              Name Value Description
              oldGroupId
              javax.xml.ws
              The old groupId to replace. The groupId is the first part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
              oldArtifactId
              jaxws-api
              The old artifactId to replace. The artifactId is the second part of a managed dependency coordinate `com.google.guava:guava:VERSION`.
              newGroupId
              jakarta.xml.ws
              The new groupId to use.
              newArtifactId
              jakarta.xml.ws-api
              The new artifactId to use.
              newVersion
              2.3.x
              The new version to use.

              Depth: 6

            • org.openrewrite.java.dependencies.AddDependency

              Name

              Add Gradle or Maven dependency

              Description

              For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

              Used Parameters

              Name Value Description
              groupId
              jakarta.xml.ws
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactId
              jakarta.xml.ws-api
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`
              version
              2.3.x
              An exact version number or node-style semver selector used to select the version number.
              onlyIfUsing
              javax.jws..*
              Used to determine if the dependency will be added and in which scope it should be placed.
              acceptTransitive
              true
              Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

              Depth: 6

            • org.openrewrite.java.dependencies.AddDependency

              Name

              Add Gradle or Maven dependency

              Description

              For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

              Used Parameters

              Name Value Description
              groupId
              jakarta.xml.ws
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactId
              jakarta.xml.ws-api
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`
              version
              2.3.x
              An exact version number or node-style semver selector used to select the version number.
              onlyIfUsing
              javax.xml.ws..*
              Used to determine if the dependency will be added and in which scope it should be placed.
              acceptTransitive
              true
              Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

              Depth: 6

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              jakarta.xml.ws
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              jakarta.xml.ws-api
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              2.3.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.java.migrate.javax.AddJaxwsRuntime

              Name

              Use the latest JAX-WS API and runtime for Jakarta EE 8

              Description

              Update build files to use the latest JAX-WS runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAX-WS run-time, in Gradle `compileOnly`+`testImplementation` and Maven `provided` scope, to any project that has a transitive dependency on the JAX-WS API. **The resulting dependencies still use the `javax` namespace, despite the move to the Jakarta artifact**.

              Depth: 6

              Included recipes

              • org.openrewrite.java.migrate.javax.AddJaxwsRuntime$AddJaxwsRuntimeGradle

                Name

                Use the latest JAX-WS API and runtime for Jakarta EE 8

                Description

                Update Gradle build files to use the latest JAX-WS runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAX-WS run-time, in `compileOnly`+`testImplementation` configurations, to any project that has a transitive dependency on the JAX-WS API. **The resulting dependencies still use the `javax` namespace, despite the move to the Jakarta artifact**.

                Depth: 7

              • org.openrewrite.java.migrate.javax.AddJaxwsRuntime$AddJaxwsRuntimeMaven

                Name

                Use the latest JAX-WS API and runtime for Jakarta EE 8

                Description

                Update maven build files to use the latest JAX-WS runtime from Jakarta EE 8 to maintain compatibility with Java version 11 or greater. The recipe will add a JAX-WS run-time, in `provided` scope, to any project that has a transitive dependency on the JAX-WS API. **The resulting dependencies still use the `javax` namespace, despite the move to the Jakarta artifact**.

                Depth: 7

            • org.openrewrite.maven.RemoveRedundantDependencyVersions

              Name

              Remove redundant explicit dependency and plugin versions

              Description

              Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

              Used Parameters

              Name Value Description
              groupPattern
              jakarta.xml.ws
              Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactPattern
              *
              Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
              onlyIfVersionsMatch
              true
              Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

              Depth: 6

            • org.openrewrite.maven.RemoveRedundantDependencyVersions

              Name

              Remove redundant explicit dependency and plugin versions

              Description

              Remove explicitly-specified dependency/plugin versions when a parent POM's `dependencyManagement`/`pluginManagement` specifies the version.

              Used Parameters

              Name Value Description
              groupPattern
              com.sun.xml.ws
              Group glob expression pattern used to match dependencies that should be managed.Group is the first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactPattern
              *
              Artifact glob expression pattern used to match dependencies that should be managed.Artifact is the second part of a dependency coordinate `com.google.guava:guava:VERSION`.
              onlyIfVersionsMatch
              true
              Deprecated; use `onlyIfManagedVersionIs` instead. Only remove the explicit version if it exactly matches the managed dependency version. When `false` explicit versions will be removed if they are older than or equal to the managed dependency version. Default `true`.

              Depth: 6

          • org.openrewrite.java.migrate.javax.AddInjectDependencies

            Name

            Add explicit Inject dependencies

            Description

            Add the necessary `inject-api` dependency from Jakarta EE 8 to maintain compatibility with Java version 11 or greater.

            Depth: 5

            Included recipes

            • org.openrewrite.java.dependencies.AddDependency

              Name

              Add Gradle or Maven dependency

              Description

              For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

              Used Parameters

              Name Value Description
              groupId
              jakarta.inject
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactId
              jakarta.inject-api
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`
              version
              1.0.3
              An exact version number or node-style semver selector used to select the version number.
              onlyIfUsing
              javax.inject.*
              Used to determine if the dependency will be added and in which scope it should be placed.
              acceptTransitive
              true
              Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

              Depth: 6

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              jakarta.inject
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              jakarta.inject-api
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              1.0.3
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

          • org.openrewrite.java.migrate.javax.AddCommonAnnotationsDependencies

            Name

            Add explicit Common Annotations dependencies

            Description

            Add the necessary `annotation-api` dependency from Jakarta EE 8 to maintain compatibility with Java version 11 or greater.

            Depth: 5

            Included recipes

            • org.openrewrite.java.dependencies.ChangeDependency

              Name

              Change Gradle or Maven dependency

              Description

              Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

              Used Parameters

              Name Value Description
              oldGroupId
              javax.annotation
              The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
              oldArtifactId
              javax.annotation-api
              The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
              newGroupId
              jakarta.annotation
              The new group ID to use. Defaults to the existing group ID.
              newArtifactId
              jakarta.annotation-api
              The new artifact ID to use. Defaults to the existing artifact ID.
              newVersion
              1.3.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.java.dependencies.AddDependency

              Name

              Add Gradle or Maven dependency

              Description

              For a Gradle project, add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used. Or For a maven project, Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

              Used Parameters

              Name Value Description
              groupId
              jakarta.annotation
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
              artifactId
              jakarta.annotation-api
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`
              version
              1.3.x
              An exact version number or node-style semver selector used to select the version number.
              onlyIfUsing
              javax.annotation..*
              Used to determine if the dependency will be added and in which scope it should be placed.
              acceptTransitive
              true
              Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

              Depth: 6

          • org.openrewrite.staticanalysis.PrimitiveWrapperClassConstructorToValueOf

            Name

            Use primitive wrapper `valueOf` method

            Description

            The constructor of all primitive types has been deprecated in favor of using the static factory method `valueOf` available for each of the primitive type wrappers.

            Depth: 5

          • org.openrewrite.java.migrate.concurrent.JavaConcurrentAPIs

            Name

            Use modernized `java.util.concurrent` APIs

            Description

            The Java concurrent APIs were updated in Java 9 and those changes resulted in certain APIs being deprecated. This recipe update an application to replace the deprecated APIs with their modern alternatives.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.concurrent.MigrateAtomicBooleanWeakCompareAndSetToWeakCompareAndSetPlain

              Name

              Use `AtomicBoolean#weakCompareAndSetPlain(boolean, boolean)`

              Description

              Use `AtomicBoolean#weakCompareAndSetPlain(boolean, boolean)` instead of the deprecated `AtomicBoolean#weakCompareAndSet(boolean, boolean)` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.util.concurrent.atomic.AtomicBoolean weakCompareAndSet(boolean, boolean)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                weakCompareAndSetPlain
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.concurrent.MigrateAtomicIntegerWeakCompareAndSetToWeakCompareAndSetPlain

              Name

              Use `AtomicInteger#weakCompareAndSetPlain(int, int)`

              Description

              Use `AtomicInteger#weakCompareAndSetPlain(int, int)` instead of the deprecated `AtomicInteger#weakCompareAndSet(int, int)` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.util.concurrent.atomic.AtomicInteger weakCompareAndSet(int, int)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                weakCompareAndSetPlain
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.concurrent.MigrateAtomicIntegerArrayWeakCompareAndSetToWeakCompareAndSetPlain

              Name

              Use `AtomicIntegerArray#weakCompareAndSetPlain(int, int, int)`

              Description

              Use `AtomicIntegerArray#weakCompareAndSetPlain(int, int, int)` instead of the deprecated `AtomicIntegerArray#weakCompareAndSet(int, int, int)` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.util.concurrent.atomic.AtomicIntegerArray weakCompareAndSet(int, int, int)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                weakCompareAndSetPlain
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.concurrent.MigrateAtomicLongWeakCompareAndSetToWeakCompareAndSetPlain

              Name

              Use `AtomicLong#weakCompareAndSetPlain(long, long)`

              Description

              Use `AtomicLong#weakCompareAndSetPlain(long, long)` instead of the deprecated `AtomicLong#weakCompareAndSet(long, long)` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.util.concurrent.atomic.AtomicLong weakCompareAndSet(long, long)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                weakCompareAndSetPlain
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.concurrent.MigrateAtomicLongArrayWeakCompareAndSetToWeakCompareAndSetPlain

              Name

              Use `AtomicLongArray#weakCompareAndSetPlain(int, long, long)`

              Description

              Use `AtomicLongArray#weakCompareAndSetPlain(int, long, long)` instead of the deprecated `AtomicLongArray#weakCompareAndSet(int, long, long)` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.util.concurrent.atomic.AtomicLongArray weakCompareAndSet(int, long, long)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                weakCompareAndSetPlain
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.concurrent.MigrateAtomicReferenceWeakCompareAndSetToWeakCompareAndSetPlain

              Name

              Use `AtomicReference#weakCompareAndSetPlain(T, T)`

              Description

              Use `AtomicReference#weakCompareAndSetPlain(T, T)` instead of the deprecated `AtomicReference#weakCompareAndSet(T, T)` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.util.concurrent.atomic.AtomicReference weakCompareAndSet(..)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                weakCompareAndSetPlain
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.concurrent.MigrateAtomicReferenceArrayWeakCompareAndSetToWeakCompareAndSetPlain

              Name

              Use `AtomicReferenceArray#weakCompareAndSetPlain(int, T, T)`

              Description

              Use `AtomicReferenceArray#weakCompareAndSetPlain(int, T, T)` instead of the deprecated `AtomicReferenceArray#weakCompareAndSet(int, T, T)` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.util.concurrent.atomic.AtomicReferenceArray weakCompareAndSet(int, ..)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                weakCompareAndSetPlain
                The method name that will replace the existing name.

                Depth: 7

          • org.openrewrite.java.migrate.lang.JavaLangAPIs

            Name

            Use modernized `java.lang` APIs

            Description

            Certain Java lang APIs have become deprecated and their usages changed, necessitating usage changes.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.lang.MigrateCharacterIsJavaLetterToIsJavaIdentifierStart

              Name

              Use `Character#isJavaIdentifierStart(char)`

              Description

              Use `Character#isJavaIdentifierStart(char)` instead of the deprecated `Character#isJavaLetter(char)` in Java 1.1 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.lang.Character isJavaLetter(char)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                isJavaIdentifierStart
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.lang.MigrateCharacterIsJavaLetterOrDigitToIsJavaIdentifierPart

              Name

              Use `Character#isJavaIdentifierPart(char)`

              Description

              Use `Character#isJavaIdentifierPart(char)` instead of the deprecated `Character#isJavaLetterOrDigit(char)` in Java 1.1 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.lang.Character isJavaLetterOrDigit(char)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                isJavaIdentifierPart
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.lang.MigrateCharacterIsSpaceToIsWhitespace

              Name

              Use `Character#isWhitespace(char)`

              Description

              Use `Character#isWhitespace(char)` instead of the deprecated `Character#isSpace(char)` in Java 1.1 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.lang.Character isSpace(char)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                isWhitespace
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.lang.MigrateRuntimeVersionMajorToFeature

              Name

              Use `Runtime.Version#feature()`

              Description

              Use `Runtime.Version#feature()` instead of the deprecated `Runtime.Version#major()` in Java 10 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.lang.Runtime.Version major()
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                feature
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.lang.MigrateRuntimeVersionMinorToInterim

              Name

              Use `Runtime.Version#interim()`

              Description

              Use `Runtime.Version#interim()` instead of the deprecated `Runtime.Version#minor()` in Java 10 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.lang.Runtime.Version minor()
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                interim
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.lang.MigrateRuntimeVersionSecurityToUpdate

              Name

              Use `Runtime.Version#update()`

              Description

              Use `Runtime.Version#update()` instead of the deprecated `Runtime.Version#security()` in Java 10 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.lang.Runtime.Version security()
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                update
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.lang.MigrateSecurityManagerMulticast

              Name

              Use `SecurityManager#checkMulticast(InetAddress)`

              Description

              Use `SecurityManager#checkMulticast(InetAddress)` instead of the deprecated `SecurityManager#checkMulticast(InetAddress, byte)` in Java 1.4 or higher.

              Depth: 6

            • org.openrewrite.java.migrate.lang.MigrateClassLoaderDefineClass

              Name

              Use `ClassLoader#defineClass(String, byte[], int, int)`

              Description

              Use `ClassLoader#defineClass(String, byte[], int, int)` instead of the deprecated `ClassLoader#defineClass(byte[], int, int)` in Java 1.1 or higher.

              Depth: 6

            • org.openrewrite.java.migrate.lang.MigrateClassNewInstanceToGetDeclaredConstructorNewInstance

              Name

              Use `Class#getDeclaredConstructor().newInstance()`

              Description

              Use `Class#getDeclaredConstructor().newInstance()` instead of the deprecated `Class#newInstance()` in Java 9 or higher.

              Depth: 6

          • org.openrewrite.java.RemoveMethodInvocations

            Name

            Remove method invocations

            Description

            Remove method invocations if syntactically safe.

            Used Parameters

            Name Value Description
            methodPattern
            java.lang.Runtime runFinalizersOnExit(boolean)
            A pattern to match method invocations for removal.

            Depth: 5

          • org.openrewrite.java.RemoveMethodInvocations

            Name

            Remove method invocations

            Description

            Remove method invocations if syntactically safe.

            Used Parameters

            Name Value Description
            methodPattern
            java.lang.System runFinalizersOnExit(boolean)
            A pattern to match method invocations for removal.

            Depth: 5

          • org.openrewrite.java.migrate.logging.JavaLoggingAPIs

            Name

            Use modernized `java.util.logging` APIs

            Description

            Certain Java logging APIs have become deprecated and their usages changed, necessitating usage changes.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.logging.MigrateGetLoggingMXBeanToGetPlatformMXBean

              Name

              Use `ManagementFactory#getPlatformMXBean(PlatformLoggingMXBean.class)`

              Description

              Use `ManagementFactory#getPlatformMXBean(PlatformLoggingMXBean.class)` instead of the deprecated `LogManager#getLoggingMXBean()` in Java 9 or higher.

              Depth: 6

            • org.openrewrite.java.migrate.logging.MigrateLoggerGlobalToGetGlobal

              Name

              Use `Logger#getGlobal()`

              Description

              The preferred way to get the global logger object is via the call `Logger#getGlobal()` over direct field access to `java.util.logging.Logger.global`.

              Depth: 6

            • org.openrewrite.java.migrate.logging.MigrateLoggerLogrbToUseResourceBundle

              Name

              Use `Logger#logrb(.., ResourceBundle bundleName, ..)`

              Description

              Use `Logger#logrb(.., ResourceBundle bundleName, ..)` instead of the deprecated `java.util.logging.Logger#logrb(.., String bundleName, ..)` in Java 8 or higher.

              Depth: 6

            • org.openrewrite.java.migrate.logging.MigrateLogRecordSetMillisToSetInstant

              Name

              Use `LogRecord#setInstant(Instant)`

              Description

              Use `LogRecord#setInstant(Instant)` instead of the deprecated `LogRecord#setMillis(long)` in Java 9 or higher.

              Depth: 6

            • org.openrewrite.java.migrate.logging.MigrateInterfaceLoggingMXBeanToPlatformLoggingMXBean

              Name

              Use `java.lang.management.PlatformLoggingMXBean`

              Description

              Use `java.lang.management.PlatformLoggingMXBean` instead of the deprecated `java.util.logging.LoggingMXBean` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                java.util.logging.LoggingMXBean
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                java.lang.management.PlatformLoggingMXBean
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

          • org.openrewrite.java.migrate.lombok.UpdateLombokToJava11

            Name

            Migrate Lombok to a Java 11 compatible version

            Description

            Update Lombok dependency to a version that is compatible with Java 11 and migrate experimental Lombok types that have been promoted.

            Depth: 5

            Included recipes

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.projectlombok
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              lombok
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              1.18.*
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              lombok.experimental.Builder
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              lombok.Builder
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              lombok.experimental.Value
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              lombok.Value
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              lombok.experimental.Wither
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              lombok.With
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              lombok.experimental.var
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              lombok.var
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              lombok.experimental.val
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              lombok.val
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

              Depth: 6

            • org.openrewrite.java.migrate.lombok.LombokValToFinalVar

              Name

              Prefer `final var` over `lombok.val`

              Description

              Prefer the Java standard library's `final var` and `var` over third-party usage of Lombok's `lombok.val` and `lombok.var` in Java 10 or higher.

              Depth: 6

          • org.openrewrite.java.migrate.net.JavaNetAPIs

            Name

            Use modernized `java.net` APIs

            Description

            Certain Java networking APIs have become deprecated and their usages changed, necessitating usage changes.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.net.MigrateMulticastSocketSetTTLToSetTimeToLive

              Name

              Use `java.net.MulticastSocket#setTimeToLive(int)`

              Description

              Use `java.net.MulticastSocket#setTimeToLive(int)` instead of the deprecated `java.net.MulticastSocket#setTTL(byte)` in Java 1.2 or higher.

              Depth: 6

            • org.openrewrite.java.migrate.net.MigrateMulticastSocketGetTTLToGetTimeToLive

              Name

              Use `java.net.MulticastSocket#getTimeToLive()`

              Description

              Use `java.net.MulticastSocket#getTimeToLive()` instead of the deprecated `java.net.MulticastSocket#getTTL()` in Java 1.2 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                java.net.MulticastSocket getTTL()
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                getTimeToLive
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.net.MigrateHttpURLConnectionHttpServerErrorToHttpInternalError

              Name

              Use `java.net.HttpURLConnection.HTTP_INTERNAL_ERROR`

              Description

              Use `java.net.HttpURLConnection.HTTP_INTERNAL_ERROR` instead of the deprecated `java.net.HttpURLConnection.HTTP_SERVER_ERROR`.

              Depth: 6

            • org.openrewrite.java.migrate.net.MigrateURLDecoderDecode

              Name

              Use `java.net.URLDecoder#decode(String, StandardCharsets.UTF_8)`

              Description

              Use `java.net.URLDecoder#decode(String, StandardCharsets.UTF_8)` instead of the deprecated `java.net.URLDecoder#decode(String)` in Java 10 or higher.

              Depth: 6

            • org.openrewrite.java.migrate.net.MigrateURLEncoderEncode

              Name

              Use `java.net.URLEncoder#encode(String, StandardCharsets.UTF_8)`

              Description

              Use `java.net.URLEncoder#encode(String, StandardCharsets.UTF_8)` instead of the deprecated `java.net.URLEncoder#encode(String)` in Java 10 or higher.

              Depth: 6

          • org.openrewrite.java.migrate.nio.file.PathsGetToPathOf

            Name

            Replace `Paths.get` with `Path.of`

            Description

            The `java.nio.file.Paths.get` method was introduced in Java SE 7. The `java.nio.file.Path.of` method was introduced in Java SE 11. This recipe replaces all usages of `Paths.get` with `Path.of` for consistency.

            Depth: 5

            Included recipes

            • org.openrewrite.java.ChangeMethodTargetToStatic

              Name

              Change method target to static

              Description

              Change method invocations to static method calls.

              Used Parameters

              Name Value Description
              methodPattern
              java.nio.file.Paths get(..)
              A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
              fullyQualifiedTargetTypeName
              java.nio.file.Path
              A fully-qualified class name of the type upon which the static method is defined.

              Depth: 6

            • org.openrewrite.java.ChangeMethodName

              Name

              Change method name

              Description

              Rename a method.

              Used Parameters

              Name Value Description
              methodPattern
              java.nio.file.Path get(..)
              A method pattern that is used to find matching method declarations/invocations.
              newMethodName
              of
              The method name that will replace the existing name.

              Depth: 6

          • org.openrewrite.java.migrate.sql.JavaSqlAPIs

            Name

            Use modernized `java.sql` APIs

            Description

            Certain Java sql APIs have become deprecated and their usages changed, necessitating usage changes.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.sql.MigrateDriverManagerSetLogStream

              Name

              Use `DriverManager#setLogWriter(java.io.PrintWriter)`

              Description

              Use `DriverManager#setLogWriter(java.io.PrintWriter)` instead of the deprecated `DriverManager#setLogStream(java.io.PrintStream)` in Java 1.2 or higher.

              Depth: 6

          • org.openrewrite.java.migrate.javax.JavaxLangModelUtil

            Name

            Use modernized `javax.lang.model.util` APIs

            Description

            Certain `javax.lang.model.util` APIs have become deprecated and their usages changed, necessitating usage changes.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.javax.MigrateAbstractAnnotationValueVisitor6To9

              Name

              Use `javax.lang.model.util.AbstractAnnotationValueVisitor9`

              Description

              Use `javax.lang.model.util.AbstractAnnotationValueVisitor9` instead of the deprecated `javax.lang.model.util.AbstractAnnotationValueVisitor6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.AbstractAnnotationValueVisitor6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.AbstractAnnotationValueVisitor9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateAbstractElementVisitor6To9

              Name

              Use `javax.lang.model.util.AbstractElementVisitor9`

              Description

              Use `javax.lang.model.util.AbstractElementVisitor9` instead of the deprecated `javax.lang.model.util.AbstractElementVisitor6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.AbstractElementVisitor6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.AbstractElementVisitor9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateAbstractTypeVisitor6To9

              Name

              Use `javax.lang.model.util.AbstractTypeVisitor9`

              Description

              Use `javax.lang.model.util.AbstractTypeVisitor9` instead of the deprecated `javax.lang.model.util.AbstractTypeVisitor6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.AbstractTypeVisitor6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.AbstractTypeVisitor9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateElementKindVisitor6To9

              Name

              Use `javax.lang.model.util.ElementKindVisitor9`

              Description

              Use `javax.lang.model.util.ElementKindVisitor9` instead of the deprecated `javax.lang.model.util.ElementKindVisitor6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.ElementKindVisitor6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.ElementKindVisitor9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateElementScanner6To9

              Name

              Use `javax.lang.model.util.ElementScanner9`

              Description

              Use `javax.lang.model.util.ElementScanner9` instead of the deprecated `javax.lang.model.util.ElementScanner6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.ElementScanner6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.ElementScanner9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateSimpleAnnotationValueVisitor6To9

              Name

              Use `javax.lang.model.util.SimpleAnnotationValueVisitor9`

              Description

              Use `javax.lang.model.util.SimpleAnnotationValueVisitor9` instead of the deprecated `javax.lang.model.util.SimpleAnnotationValueVisitor6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.SimpleAnnotationValueVisitor6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.SimpleAnnotationValueVisitor9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateSimpleElementVisitor6To9

              Name

              Use `javax.lang.model.util.SimpleElementVisitor9`

              Description

              Use `javax.lang.model.util.SimpleElementVisitor9` instead of the deprecated `javax.lang.model.util.SimpleElementVisitor6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.SimpleElementVisitor6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.SimpleElementVisitor9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateSimpleTypeVisitor6To9

              Name

              Use `javax.lang.model.util.SimpleTypeVisitor9`

              Description

              Use `javax.lang.model.util.SimpleTypeVisitor9` instead of the deprecated `javax.lang.model.util.SimpleTypeVisitor6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.SimpleTypeVisitor6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.SimpleTypeVisitor9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateTypeKindVisitor6To9

              Name

              Use `javax.lang.model.util.TypeKindVisitor9`

              Description

              Use `javax.lang.model.util.TypeKindVisitor9` instead of the deprecated `javax.lang.model.util.TypeKindVisitor6` in Java 9 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeType

                Name

                Change type

                Description

                Change a given type to another.

                Used Parameters

                Name Value Description
                oldFullyQualifiedTypeName
                javax.lang.model.util.TypeKindVisitor6
                Fully-qualified class name of the original type.
                newFullyQualifiedTypeName
                javax.lang.model.util.TypeKindVisitor9
                Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

                Depth: 7

          • org.openrewrite.java.migrate.javax.JavaxManagementMonitorAPIs

            Name

            Use modernized `javax.management.monitor` APIs

            Description

            Certain `javax.management.monitor` APIs have become deprecated and their usages changed, necessitating usage changes.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.javax.MigrateCounterMonitorSetThresholdToSetInitThreshold

              Name

              Use `javax.management.monitor.CounterMonitor#setInitThreshold`

              Description

              Use `javax.management.monitor.CounterMonitor#setInitThreshold` instead of the deprecated `javax.management.monitor.CounterMonitor#setThreshold` in JMX 1.2 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                javax.management.monitor.CounterMonitor setThreshold(java.lang.Number)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                setInitThreshold
                The method name that will replace the existing name.

                Depth: 7

          • org.openrewrite.java.migrate.javax.JavaxXmlStreamAPIs

            Name

            Use modernized `javax.xml.stream` APIs

            Description

            Certain `javax.xml.stream` APIs have become deprecated and their usages changed, necessitating usage changes.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.javax.MigrateXMLEventFactoryNewInstanceToNewFactory

              Name

              Use `javax.xml.stream.XMLEventFactory#newFactory(String, ClassLoader)`

              Description

              Use `javax.xml.stream.XMLEventFactory#newFactory` instead of the deprecated `javax.xml.stream.XMLEventFactory#newInstance` in Java 7 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                javax.xml.stream.XMLEventFactory newInstance(String, java.lang.ClassLoader)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                newFactory
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateXMLInputFactoryNewInstanceToNewFactory

              Name

              Use `javax.xml.stream.XMLInputFactory#newFactory(String, ClassLoader)`

              Description

              Use `javax.xml.stream.XMLInputFactory#newFactory` instead of the deprecated `javax.xml.stream.XMLInputFactory#newInstance` in Java 7 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                javax.xml.stream.XMLInputFactory newInstance(String, java.lang.ClassLoader)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                newFactory
                The method name that will replace the existing name.

                Depth: 7

            • org.openrewrite.java.migrate.javax.MigrateXMLOutputFactoryNewInstanceToNewFactory

              Name

              Use `javax.xml.stream.XMLOutputFactory#newFactory(String, ClassLoader)`

              Description

              Use `javax.xml.stream.XMLOutputFactory#newFactory` instead of the deprecated `javax.xml.stream.XMLOutputFactory#newInstance` in Java 7 or higher.

              Depth: 6

              Included recipes

              • org.openrewrite.java.ChangeMethodName

                Name

                Change method name

                Description

                Rename a method.

                Used Parameters

                Name Value Description
                methodPattern
                javax.xml.stream.XMLOutputFactory newInstance(String, java.lang.ClassLoader)
                A method pattern that is used to find matching method declarations/invocations.
                newMethodName
                newFactory
                The method name that will replace the existing name.

                Depth: 7

          • org.openrewrite.java.migrate.cobertura.RemoveCoberturaMavenPlugin

            Name

            Remove Cobertura Maven plugin

            Description

            This recipe will remove Cobertura, as it is not compatible with Java 11.

            Depth: 5

            Included recipes

            • org.openrewrite.maven.RemovePlugin

              Name

              Remove Maven plugin

              Description

              Remove the specified Maven plugin from the POM.

              Used Parameters

              Name Value Description
              groupId
              org.codehaus.mojo
              The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.
              artifactId
              cobertura-maven-plugin
              The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'.

              Depth: 6

          • org.openrewrite.java.migrate.UpgradeBuildToJava11

            Name

            Upgrade build to Java 11

            Description

            Updates build files to use Java 11 as the target/source.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.UpgradeJavaVersion

              Name

              Upgrade Java version

              Description

              Upgrade build plugin configuration to use the specified Java version. This recipe changes `java.toolchain.languageVersion` in `build.gradle(.kts)` of gradle projects, or maven-compiler-plugin target version and related settings. Will not downgrade if the version is newer than the specified version.

              Used Parameters

              Name Value Description
              version
              11
              The Java version to upgrade to.

              Depth: 6

              Included recipes

              • org.openrewrite.java.migrate.maven.UseMavenCompilerPluginReleaseConfiguration

                Name

                Use Maven compiler plugin release configuration

                Description

                Replaces any explicit `source` or `target` configuration (if present) on the `maven-compiler-plugin` with `release`, and updates the `release` value if needed. Will not downgrade the Java version if the current version is higher.

                Used Parameters

                Name Value Description
                releaseVersion
                11
                The new value for the release configuration. This recipe prefers ${java.version} if defined.

                Depth: 7

              • org.openrewrite.java.migrate.maven.UpdateMavenProjectPropertyJavaVersion

                Name

                Update Maven Java project properties

                Description

                The Java version is determined by several project properties, including: * `java.version` * `jdk.version` * `javaVersion` * `jdkVersion` * `maven.compiler.source` * `maven.compiler.target` * `maven.compiler.release` * `release.version` If none of these properties are in use and the maven compiler plugin is not otherwise configured, adds the `maven.compiler.release` property.

                Used Parameters

                Name Value Description
                version
                11
                The Java version to upgrade to.

                Depth: 7

              • org.openrewrite.jenkins.UpgradeJavaVersion

                Name

                Upgrade jenkins java version

                Description

                Upgrades the version of java specified in Jenkins groovy scripts. Will not downgrade if the version is newer than the specified version.

                Used Parameters

                Name Value Description
                version
                11
                The Java version to upgrade to.

                Depth: 7

              • org.openrewrite.gradle.UpdateJavaCompatibility

                Name

                Update Gradle project Java compatibility

                Description

                Find and updates the Java compatibility for the Gradle project.

                Used Parameters

                Name Value Description
                version
                11
                The Java version to upgrade to.
                allowDowngrade
                false
                Allow downgrading the Java version.

                Depth: 7

          • org.openrewrite.java.migrate.InternalBindPackages

            Name

            Use `com.sun.xml.bind.*` instead of `com.sun.xml.internal.bind.*`

            Description

            Do not use APIs from `com.sun.xml.internal.bind.*` packages.

            Depth: 5

            Included recipes

            • org.openrewrite.java.ChangePackage

              Name

              Rename package name

              Description

              A recipe that will rename a package name in package statements, imports, and fully-qualified types.

              Used Parameters

              Name Value Description
              oldPackageName
              com.sun.xml.internal.bind
              The package name to replace.
              newPackageName
              com.sun.xml.bind
              New package name to replace the old package name with.
              recursive
              true
              Recursively change subpackage names

              Depth: 6

          • org.openrewrite.java.migrate.RemovedSecurityManagerMethods

            Name

            Replace deprecated methods in`SecurityManager`

            Description

            Replace `SecurityManager` methods `checkAwtEventQueueAccess()`, `checkSystemClipboardAccess()`, `checkMemberAccess()` and `checkTopLevelWindow()` deprecated in Java SE 11 by `checkPermission(new java.security.AllPermission())`.

            Depth: 5

          • org.openrewrite.java.migrate.UpgradePluginsForJava11

            Name

            Upgrade plugins to Java 11 compatible versions

            Description

            Updates plugins to version compatible with Java 11.

            Depth: 5

            Included recipes

            • org.openrewrite.maven.UpgradePluginVersion

              Name

              Upgrade Maven plugin version

              Description

              Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.apache.maven.plugins
              The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
              artifactId
              maven-compiler-plugin
              The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
              newVersion
              3.6.2
              An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

              Depth: 6

            • org.openrewrite.github.SetupJavaUpgradeJavaVersion

              Name

              Upgrade `actions/setup-java` `java-version`

              Description

              Update the Java version used by `actions/setup-java` if it is below the expected version number.

              Used Parameters

              Name Value Description
              minimumJavaMajorVersion
              11

              Depth: 6

            • org.openrewrite.maven.UpgradePluginVersion

              Name

              Upgrade Maven plugin version

              Description

              Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              ro.isdc.wro4j
              The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
              artifactId
              wro4j-maven-plugin
              The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
              newVersion
              1.10.1
              An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

              Depth: 6

          • org.openrewrite.java.migrate.RemovedPolicy

            Name

            Replace `javax.security.auth.Policy` with `java.security.Policy`

            Description

            The `javax.security.auth.Policy` class is not available from Java SE 11 onwards.

            Depth: 5

            Included recipes

            • org.openrewrite.java.ChangeType

              Name

              Change type

              Description

              Change a given type to another.

              Used Parameters

              Name Value Description
              oldFullyQualifiedTypeName
              javax.security.auth.Policy
              Fully-qualified class name of the original type.
              newFullyQualifiedTypeName
              java.security.Policy
              Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.
              ignoreDefinition
              true
              When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

              Depth: 6

          • org.openrewrite.java.migrate.ReferenceCloneMethod

            Name

            Replace `java.lang.ref.Reference.clone()` with constructor call

            Description

            The recipe replaces any clone calls that may resolve to a `java.lang.ref.Reference.clone()` or any of its known subclasses: `java.lang.ref.PhantomReference`, `java.lang.ref.SoftReference`, and `java.lang.ref.WeakReference` with a constructor call passing in the referent and reference queue as parameters.

            Depth: 5

          • org.openrewrite.java.migrate.ThreadStopDestroy

            Name

            Remove `Thread.destroy()` and `Thread.stop(Throwable)`

            Description

            The `java.lang.Thread.destroy()` method was never implemented, and the `java.lang.Thread.stop(java.lang.Throwable)` method has been unusable since Java SE 8. This recipe removes any usage of these methods from your application.

            Depth: 5

            Included recipes

            • org.openrewrite.java.RemoveMethodInvocations

              Name

              Remove method invocations

              Description

              Remove method invocations if syntactically safe.

              Used Parameters

              Name Value Description
              methodPattern
              java.lang.Thread destroy()
              A pattern to match method invocations for removal.

              Depth: 6

            • org.openrewrite.java.RemoveMethodInvocations

              Name

              Remove method invocations

              Description

              Remove method invocations if syntactically safe.

              Used Parameters

              Name Value Description
              methodPattern
              java.lang.Thread stop(java.lang.Throwable)
              A pattern to match method invocations for removal.

              Depth: 6

          • org.openrewrite.java.migrate.ReplaceAWTGetPeerMethod

            Name

            Replace AWT `getPeer()` method

            Description

            This recipe replaces the use of `getPeer()` method in `java.awt.*` classes. `component.getPeer() != null` is replaced with `component.isDisplayable()` and `component.getPeer() instanceof LightweightPeer` is replaced with `component.isLightweight()`.

            Used Parameters

            Name Value Description
            getPeerMethodPattern
            java.awt.* getPeer()
            The method pattern to match and replace.
            lightweightPeerFQCN
            java.awt.peer.LightweightPeer
            The fully qualified class name of the LightweightPeer interface to replace in `instanceof`.

            Depth: 5

          • org.openrewrite.scala.migrate.UpgradeScala_2_12

            Name

            Migrate to Scala 2.12.+

            Description

            Upgrade the Scala version for compatibility with newer Java versions.

            Depth: 5

            Included recipes

            • org.openrewrite.java.dependencies.UpgradeDependencyVersion

              Name

              Upgrade Gradle or Maven dependency versions

              Description

              For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

              Used Parameters

              Name Value Description
              groupId
              org.scala-lang
              The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              artifactId
              scala-*
              The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
              newVersion
              2.12.x
              An exact version number or node-style semver selector used to select the version number.

              Depth: 6

          • org.openrewrite.java.migrate.ReplaceComSunAWTUtilitiesMethods

            Name

            Replace `com.sun.awt.AWTUtilities` static method invocations

            Description

            This recipe replaces several static calls in `com.sun.awt.AWTUtilities` with the JavaSE 11 equivalent. The methods replaced are `AWTUtilities.isTranslucencySupported()`, `AWTUtilities.setWindowOpacity()`, `AWTUtilities.getWindowOpacity()`, `AWTUtilities.getWindowShape()`, `AWTUtilities.isWindowOpaque()`, `AWTUtilities.isTranslucencyCapable()` and `AWTUtilities.setComponentMixingCutoutShape()`.

            Used Parameters

            Name Value Description
            getAWTIsWindowsTranslucencyPattern
            com.sun.awt.AWTUtilities isTranslucencySupported(com.sun.awt.AWTUtilities.Translucency)
            The method pattern to match and replace.
            isWindowOpaquePattern
            com.sun.awt.AWTUtilities isWindowOpaque(java.awt.Window)
            The method pattern to match and replace.
            isTranslucencyCapablePattern
            com.sun.awt.AWTUtilities isTranslucencyCapable(java.awt.GraphicsConfiguration)
            The method pattern to match and replace.
            setWindowOpacityPattern
            com.sun.awt.AWTUtilities setWindowOpacity(java.awt.Window, float)
            The method pattern to match and replace.
            getWindowOpacityPattern
            com.sun.awt.AWTUtilities getWindowOpacity(java.awt.Window)
            The method pattern to match and replace.
            getWindowShapePattern
            com.sun.awt.AWTUtilities getWindowShape(java.awt.Window)
            The method pattern to match and replace.
            setComponentMixingCutoutShapePattern
            com.sun.awt.AWTUtilities setComponentMixingCutoutShape(java.awt.Component,java.awt.Shape)
            The method pattern to match and replace.

            Depth: 5

          • org.openrewrite.java.migrate.ReplaceLocalizedStreamMethods

            Name

            Replace `getLocalizedInputStream` and `getLocalizedOutputStream` with direct assignment

            Description

            Replaces `Runtime.getLocalizedInputStream(InputStream)` and `Runtime.getLocalizedOutputStream(OutputStream)` with their direct arguments. This modification is made because the previous implementation of `getLocalizedInputStream` and `getLocalizedOutputStream` merely returned the arguments provided.

            Used Parameters

            Name Value Description
            localizedInputStreamMethodMatcher
            java.lang.Runtime getLocalizedInputStream(java.io.InputStream)
            The method pattern to match and replace.
            localizedOutputStreamMethodMatcher
            java.lang.Runtime getLocalizedOutputStream(java.io.OutputStream)
            The method pattern to match and replace.

            Depth: 5

          • org.openrewrite.java.migrate.ArrayStoreExceptionToTypeNotPresentException

            Name

            Catch `TypeNotPresentException` thrown by `Class.getAnnotation()`

            Description

            Replace catch blocks for `ArrayStoreException` around `Class.getAnnotation()` with `TypeNotPresentException` to ensure compatibility with Java 11+.

            Depth: 5

        • org.openrewrite.java.migrate.UpgradeBuildToJava17

          Name

          Upgrade build to Java 17

          Description

          Updates build files to use Java 17 as the target/source.

          Depth: 4

          Included recipes

          • org.openrewrite.java.migrate.UpgradeJavaVersion

            Name

            Upgrade Java version

            Description

            Upgrade build plugin configuration to use the specified Java version. This recipe changes `java.toolchain.languageVersion` in `build.gradle(.kts)` of gradle projects, or maven-compiler-plugin target version and related settings. Will not downgrade if the version is newer than the specified version.

            Used Parameters

            Name Value Description
            version
            17
            The Java version to upgrade to.

            Depth: 5

            Included recipes

            • org.openrewrite.java.migrate.maven.UseMavenCompilerPluginReleaseConfiguration

              Name

              Use Maven compiler plugin release configuration

              Description

              Replaces any explicit `source` or `target` configuration (if present) on the `maven-compiler-plugin` with `release`, and updates the `release` value if needed. Will not downgrade the Java version if the current version is higher.

              Used Parameters

              Name Value Description
              releaseVersion
              17
              The new value for the release configuration. This recipe prefers ${java.version} if defined.

              Depth: 6

            • org.openrewrite.java.migrate.maven.UpdateMavenProjectPropertyJavaVersion

              Name

              Update Maven Java project properties

              Description

              The Java version is determined by several project properties, including: * `java.version` * `jdk.version` * `javaVersion` * `jdkVersion` * `maven.compiler.source` * `maven.compiler.target` * `maven.compiler.release` * `release.version` If none of these properties are in use and the maven compiler plugin is not otherwise configured, adds the `maven.compiler.release` property.

              Used Parameters

              Name Value Description
              version
              17
              The Java version to upgrade to.

              Depth: 6

            • org.openrewrite.jenkins.UpgradeJavaVersion

              Name

              Upgrade jenkins java version

              Description

              Upgrades the version of java specified in Jenkins groovy scripts. Will not downgrade if the version is newer than the specified version.

              Used Parameters

              Name Value Description
              version
              17
              The Java version to upgrade to.

              Depth: 6

            • org.openrewrite.gradle.UpdateJavaCompatibility

              Name

              Update Gradle project Java compatibility

              Description

              Find and updates the Java compatibility for the Gradle project.

              Used Parameters

              Name Value Description
              version
              17
              The Java version to upgrade to.
              allowDowngrade
              false
              Allow downgrading the Java version.

              Depth: 6

        • org.openrewrite.staticanalysis.AddSerialAnnotationToSerialVersionUID

          Name

          Add `@Serial` annotation to `serialVersionUID`

          Description

          Annotation any `serialVersionUID` fields with `@Serial` to indicate it's part of the serialization mechanism.

          Depth: 4

        • org.openrewrite.java.migrate.RemovedRuntimeTraceMethods

          Name

          Remove `Runtime.traceInstructions(boolean)` and `Runtime.traceMethodCalls` methods

          Description

          The `traceInstructions` and `traceMethodCalls` methods in `java.lang.Runtime` were deprecated in Java SE 9 and are no longer available in Java SE 13 and later. The recipe removes the invocations of these methods since the method invocations do nothing functionally.

          Depth: 4

          Included recipes

          • org.openrewrite.java.RemoveMethodInvocations

            Name

            Remove method invocations

            Description

            Remove method invocations if syntactically safe.

            Used Parameters

            Name Value Description
            methodPattern
            java.lang.Runtime traceInstructions(boolean)
            A pattern to match method invocations for removal.

            Depth: 5

          • org.openrewrite.java.RemoveMethodInvocations

            Name

            Remove method invocations

            Description

            Remove method invocations if syntactically safe.

            Used Parameters

            Name Value Description
            methodPattern
            java.lang.Runtime traceMethodCalls(boolean)
            A pattern to match method invocations for removal.

            Depth: 5

        • org.openrewrite.java.migrate.RemovedToolProviderConstructor

          Name

          Change `javax.tools.ToolProvider` methods calls to static

          Description

          The `javax.tools.ToolProvider()` constructor has been removed in Java SE 16 since the class only contains static methods. The recipe converts `javax.tools.ToolProvider getSystemJavaCompiler()`, `javax.tools.ToolProvider getSystemDocumentationTool()` and `javax.tools.ToolProvider getSystemToolClassLoader()` to static methods.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangeMethodTargetToStatic

            Name

            Change method target to static

            Description

            Change method invocations to static method calls.

            Used Parameters

            Name Value Description
            methodPattern
            javax.tools.ToolProvider *()
            A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
            fullyQualifiedTargetTypeName
            javax.tools.ToolProvider
            A fully-qualified class name of the type upon which the static method is defined.

            Depth: 5

        • org.openrewrite.java.migrate.RemovedModifierAndConstantBootstrapsConstructors

          Name

          Change `java.lang.reflect.Modifier` and ` java.lang.invoke.ConstantBootstraps` method calls to static

          Description

          The `java.lang.reflect.Modifier()` and `java.lang.invoke.ConstantBootstraps()` constructors have been removed in Java SE 15 because both classes only contain static methods. This recipe converts the usage of all methods in the two classes to be static. See https://docs.oracle.com/en/java/javase/15/migrate/index.html#GUID-233853B8-0782-429E-BEF7-7532EE610E63 for more information on these changes.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangeMethodTargetToStatic

            Name

            Change method target to static

            Description

            Change method invocations to static method calls.

            Used Parameters

            Name Value Description
            methodPattern
            java.lang.reflect.Modifier *(..)
            A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
            fullyQualifiedTargetTypeName
            java.lang.reflect.Modifier
            A fully-qualified class name of the type upon which the static method is defined.

            Depth: 5

          • org.openrewrite.java.ChangeMethodTargetToStatic

            Name

            Change method target to static

            Description

            Change method invocations to static method calls.

            Used Parameters

            Name Value Description
            methodPattern
            java.lang.invoke.ConstantBootstraps *(..)
            A method pattern that is used to find matching method invocations. The original method call may or may not be a static method invocation.
            fullyQualifiedTargetTypeName
            java.lang.invoke.ConstantBootstraps
            A fully-qualified class name of the type upon which the static method is defined.

            Depth: 5

        • org.openrewrite.java.migrate.DeprecatedJavaxSecurityCert

          Name

          Use `java.security.cert` instead of `javax.security.cert`

          Description

          The `javax.security.cert` package has been deprecated for removal.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangePackage

            Name

            Rename package name

            Description

            A recipe that will rename a package name in package statements, imports, and fully-qualified types.

            Used Parameters

            Name Value Description
            oldPackageName
            javax.security.cert
            The package name to replace.
            newPackageName
            java.security.cert
            New package name to replace the old package name with.

            Depth: 5

        • org.openrewrite.java.migrate.DeprecatedLogRecordThreadID

          Name

          Adopt `setLongThreadID` in `java.util.logging.LogRecord`

          Description

          Avoid using the deprecated methods in `java.util.logging.LogRecord`.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            java.util.logging.LogRecord getThreadID()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            getLongThreadID
            The method name that will replace the existing name.

            Depth: 5

          • org.openrewrite.java.migrate.ChangeMethodInvocationReturnType

            Name

            Change method invocation return type

            Description

            Changes the return type of a method invocation.

            Used Parameters

            Name Value Description
            methodPattern
            java.util.logging.LogRecord getLongThreadID()
            A method pattern that is used to find matching method declarations/invocations.
            newReturnType
            long
            The fully qualified new return type of method invocation.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            java.util.logging.LogRecord setThreadID(int)
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            setLongThreadID
            The method name that will replace the existing name.

            Depth: 5

        • org.openrewrite.java.migrate.RemovedLegacySunJSSEProviderName

          Name

          Use `SunJSSE` instead of `com.sun.net.ssl.internal.ssl.Provider`

          Description

          The `com.sun.net.ssl.internal.ssl.Provider` provider name was removed.

          Depth: 4

          Included recipes

          • org.openrewrite.java.migrate.ReplaceStringLiteralValue

            Name

            Replace `String` literal

            Description

            Replace the value of a complete `String` literal.

            Used Parameters

            Name Value Description
            oldLiteralValue
            com.sun.net.ssl.internal.ssl.Provider
            The `String` value to replace.
            newLiteralValue
            SunJSSE
            The `String` value to replace with.

            Depth: 5

        • org.openrewrite.java.migrate.Jre17AgentMainPreMainPublic

          Name

          Set visibility of `premain` and `agentmain` methods to `public`

          Description

          Check for a behavior change in Java agents.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangeMethodAccessLevel

            Name

            Change method access level

            Description

            Change the access level (public, protected, private, package private) of a method.

            Used Parameters

            Name Value Description
            methodPattern
            *..* agentmain(java.lang.String)
            A method pattern that is used to find matching method declarations/invocations.
            newAccessLevel
            public
            New method access level to apply to the method.

            Depth: 5

          • org.openrewrite.java.ChangeMethodAccessLevel

            Name

            Change method access level

            Description

            Change the access level (public, protected, private, package private) of a method.

            Used Parameters

            Name Value Description
            methodPattern
            *..* agentmain(java.lang.String, java.lang.instrument.Instrumentation)
            A method pattern that is used to find matching method declarations/invocations.
            newAccessLevel
            public
            New method access level to apply to the method.

            Depth: 5

          • org.openrewrite.java.ChangeMethodAccessLevel

            Name

            Change method access level

            Description

            Change the access level (public, protected, private, package private) of a method.

            Used Parameters

            Name Value Description
            methodPattern
            *..* premain(java.lang.String)
            A method pattern that is used to find matching method declarations/invocations.
            newAccessLevel
            public
            New method access level to apply to the method.

            Depth: 5

          • org.openrewrite.java.ChangeMethodAccessLevel

            Name

            Change method access level

            Description

            Change the access level (public, protected, private, package private) of a method.

            Used Parameters

            Name Value Description
            methodPattern
            *..* premain(java.lang.String, java.lang.instrument.Instrumentation)
            A method pattern that is used to find matching method declarations/invocations.
            newAccessLevel
            public
            New method access level to apply to the method.

            Depth: 5

        • org.openrewrite.java.migrate.DeprecatedCountStackFramesMethod

          Name

          Remove `Thread.countStackFrames()` method

          Description

          `Thread.countStackFrames()` has been removed in Java SE 14 and has been changed in this release to unconditionally throw `UnsupportedOperationException` This recipe removes the usage of this method in your application as long as the method is not assigned to a variable. For more information on the Java SE 14 deprecation of this method, see https://bugs.java.com/bugdatabase/view_bug?bug_id=8205132.

          Depth: 4

          Included recipes

          • org.openrewrite.java.RemoveMethodInvocations

            Name

            Remove method invocations

            Description

            Remove method invocations if syntactically safe.

            Used Parameters

            Name Value Description
            methodPattern
            java.lang.Thread countStackFrames()
            A pattern to match method invocations for removal.

            Depth: 5

        • org.openrewrite.java.migrate.RemovedZipFinalizeMethods

          Name

          Replace `finalize` method in `java.util.zip.ZipFile`, `java.util.zip.Inflater` and `java.util.zip.Deflater`

          Description

          The `finalize` method in `java.util.zip.ZipFile` is replaced with the `close` method and is replaced by the `end` method in `java.util.zip.Inflater` and `java.util.zip.Deflater` as it is no longer available in Java SE 12 and later.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            java.util.zip.Inflater finalize()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            end
            The method name that will replace the existing name.
            ignoreDefinition
            true
            When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            java.util.zip.Deflater finalize()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            end
            The method name that will replace the existing name.
            ignoreDefinition
            true
            When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            java.util.zip.ZipFile finalize()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            close
            The method name that will replace the existing name.
            ignoreDefinition
            true
            When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

            Depth: 5

        • org.openrewrite.java.migrate.RemovedSSLSessionGetPeerCertificateChainMethodImpl

          Name

          Replace `SSLSession.getPeerCertificateChain()` method

          Description

          The `javax.net.ssl.SSLSession.getPeerCertificateChain()` method implementation was removed from the SunJSSE provider and HTTP client implementation in Java SE 15. The default implementation will now throw an `UnsupportedOperationException`. Applications using this method should be updated to use the `javax.net.ssl.SSLSession.getPeerCertificates()` method instead.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            javax.net.ssl.SSLSession getPeerCertificateChain()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            getPeerCertificates
            The method name that will replace the existing name.
            ignoreDefinition
            true
            When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

            Depth: 5

        • org.openrewrite.java.migrate.SunNetSslPackageUnavailable

          Name

          Replace `com.sun.net.ssl` package

          Description

          The internal API `com.sun.net.ssl` is removed. The package was intended for internal use only and replacement APIs can be found in the `javax.net.ssl` package.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangePackage

            Name

            Rename package name

            Description

            A recipe that will rename a package name in package statements, imports, and fully-qualified types.

            Used Parameters

            Name Value Description
            oldPackageName
            com.sun.net.ssl
            The package name to replace.
            newPackageName
            javax.net.ssl
            New package name to replace the old package name with.

            Depth: 5

        • org.openrewrite.java.migrate.RemovedRMIConnectorServerCredentialTypesConstant

          Name

          Replace `RMIConnectorServer.CREDENTIAL_TYPES` constant

          Description

          This recipe replaces the `RMIConnectorServer.CREDENTIAL_TYPES` constant with the `RMIConnectorServer.CREDENTIALS_FILTER_PATTERN` constant.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ReplaceConstantWithAnotherConstant

            Name

            Replace constant with another constant

            Description

            Replace a constant with another constant, adding/removing import on class if needed.

            Used Parameters

            Name Value Description
            existingFullyQualifiedConstantName
            javax.management.remote.rmi.RMIConnectorServer.CREDENTIAL_TYPES
            fullyQualifiedConstantName
            javax.management.remote.rmi.RMIConnectorServer.CREDENTIALS_FILTER_PATTERN

            Depth: 5

        • org.openrewrite.java.migrate.RemovedFileIOFinalizeMethods

          Name

          Replace `finalize` method in `java.io.FileInputStream` and `java.io.FileOutputStream`

          Description

          The `finalize` method in `java.io.FileInputStream` and `java.io.FileOutputStream` is no longer available in Java SE 12 and later. The recipe replaces it with the `close` method.

          Depth: 4

          Included recipes

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            java.io.FileInputStream finalize()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            close
            The method name that will replace the existing name.
            ignoreDefinition
            true
            When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

            Depth: 5

          • org.openrewrite.java.ChangeMethodName

            Name

            Change method name

            Description

            Rename a method.

            Used Parameters

            Name Value Description
            methodPattern
            java.io.FileOutputStream finalize()
            A method pattern that is used to find matching method declarations/invocations.
            newMethodName
            close
            The method name that will replace the existing name.
            ignoreDefinition
            true
            When set to `true` the definition of the old type will be left untouched. This is useful when you're replacing usage of a class but don't want to rename it.

            Depth: 5

        • org.openrewrite.java.migrate.UpgradePluginsForJava17

          Name

          Upgrade plugins to Java 17 compatible versions

          Description

          Updates plugins to version compatible with Java 17.

          Depth: 4

          Included recipes

          • org.openrewrite.github.SetupJavaUpgradeJavaVersion

            Name

            Upgrade `actions/setup-java` `java-version`

            Description

            Update the Java version used by `actions/setup-java` if it is below the expected version number.

            Used Parameters

            Name Value Description
            minimumJavaMajorVersion
            17

            Depth: 5

          • org.openrewrite.gradle.UpdateGradleWrapper

            Name

            Update Gradle wrapper

            Description

            Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

            Used Parameters

            Name Value Description
            version
            7.3
            An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
            addIfMissing
            false
            Add a Gradle wrapper, if it's missing. Defaults to `true`.

            Depth: 5

          • org.openrewrite.maven.UpgradePluginVersion

            Name

            Upgrade Maven plugin version

            Description

            Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.apache.maven.plugins
            The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            artifactId
            maven-checkstyle-plugin
            The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            newVersion
            3.x
            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

            Depth: 5

          • org.openrewrite.maven.UpgradePluginVersion

            Name

            Upgrade Maven plugin version

            Description

            Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.apache.maven.plugins
            The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            artifactId
            maven-compiler-plugin
            The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            newVersion
            3.x
            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

            Depth: 5

          • org.openrewrite.maven.UpgradePluginVersion

            Name

            Upgrade Maven plugin version

            Description

            Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            org.apache.maven.plugins
            The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            artifactId
            maven-war-plugin
            The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            newVersion
            3.x
            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

            Depth: 5

          • org.openrewrite.maven.UpgradePluginVersion

            Name

            Upgrade Maven plugin version

            Description

            Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            com.sonatype.clm
            The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            artifactId
            clm-maven-plugin
            The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            newVersion
            2.47.6-01
            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

            Depth: 5

          • org.openrewrite.maven.UpgradePluginVersion

            Name

            Upgrade Maven plugin version

            Description

            Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

            Used Parameters

            Name Value Description
            groupId
            ro.isdc.wro4j
            The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            artifactId
            wro4j-maven-plugin
            The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
            newVersion
            2.1.x
            An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

            Depth: 5

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          com.google.inject
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          guice
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          5.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.java.migrate.AddLombokMapstructBinding

          Name

          Add `lombok-mapstruct-binding` when both MapStruct and Lombok are used

          Description

          Add the `lombok-mapstruct-binding` annotation processor as needed when both MapStruct and Lombok are used.

          Depth: 4

          Included recipes

          • org.openrewrite.config.DeclarativeRecipe$PreconditionBellwether

            Name

            Precondition bellwether

            Description

            Evaluates a precondition and makes that result available to the preconditions of other recipes. "bellwether", noun - One that serves as a leader or as a leading indicator of future trends.

            Depth: 5

          • org.openrewrite.gradle.AddDependency

            Name

            Add Gradle dependency

            Description

            Add a gradle dependency to a `build.gradle` file in the correct configuration based on where it is used.

            Depth: 5

          • org.openrewrite.maven.AddDependency

            Name

            Add Maven dependency

            Description

            Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

            Depth: 5

          • org.openrewrite.maven.AddAnnotationProcessor

            Name

            Add an annotation processor to `maven-compiler-plugin`

            Description

            Add an annotation processor to the maven compiler plugin. Will not do anything if it already exists. Also doesn't add anything when no other annotation processors are defined yet. (Perhaps `ChangePluginConfiguration` can be used).

            Depth: 5

      • org.openrewrite.java.migrate.UpgradeBuildToJava21

        Name

        Upgrade build to Java 21

        Description

        Updates build files to use Java 21 as the target/source.

        Depth: 3

        Included recipes

        • org.openrewrite.java.migrate.UpgradeJavaVersion

          Name

          Upgrade Java version

          Description

          Upgrade build plugin configuration to use the specified Java version. This recipe changes `java.toolchain.languageVersion` in `build.gradle(.kts)` of gradle projects, or maven-compiler-plugin target version and related settings. Will not downgrade if the version is newer than the specified version.

          Used Parameters

          Name Value Description
          version
          21
          The Java version to upgrade to.

          Depth: 4

          Included recipes

          • org.openrewrite.java.migrate.maven.UseMavenCompilerPluginReleaseConfiguration

            Name

            Use Maven compiler plugin release configuration

            Description

            Replaces any explicit `source` or `target` configuration (if present) on the `maven-compiler-plugin` with `release`, and updates the `release` value if needed. Will not downgrade the Java version if the current version is higher.

            Used Parameters

            Name Value Description
            releaseVersion
            21
            The new value for the release configuration. This recipe prefers ${java.version} if defined.

            Depth: 5

          • org.openrewrite.java.migrate.maven.UpdateMavenProjectPropertyJavaVersion

            Name

            Update Maven Java project properties

            Description

            The Java version is determined by several project properties, including: * `java.version` * `jdk.version` * `javaVersion` * `jdkVersion` * `maven.compiler.source` * `maven.compiler.target` * `maven.compiler.release` * `release.version` If none of these properties are in use and the maven compiler plugin is not otherwise configured, adds the `maven.compiler.release` property.

            Used Parameters

            Name Value Description
            version
            21
            The Java version to upgrade to.

            Depth: 5

          • org.openrewrite.jenkins.UpgradeJavaVersion

            Name

            Upgrade jenkins java version

            Description

            Upgrades the version of java specified in Jenkins groovy scripts. Will not downgrade if the version is newer than the specified version.

            Used Parameters

            Name Value Description
            version
            21
            The Java version to upgrade to.

            Depth: 5

          • org.openrewrite.gradle.UpdateJavaCompatibility

            Name

            Update Gradle project Java compatibility

            Description

            Find and updates the Java compatibility for the Gradle project.

            Used Parameters

            Name Value Description
            version
            21
            The Java version to upgrade to.
            allowDowngrade
            false
            Allow downgrading the Java version.

            Depth: 5

      • org.openrewrite.java.migrate.RemoveIllegalSemicolons

        Name

        Remove illegal semicolons

        Description

        Remove semicolons after package declarations and imports, no longer accepted in Java 21 as of [JDK-8027682](https://bugs.openjdk.org/browse/JDK-8027682).

        Depth: 3

      • org.openrewrite.java.migrate.lang.ThreadStopUnsupported

        Name

        Replace `Thread.resume()`, `Thread.stop()`, and `Thread.suspend()` with `throw new UnsupportedOperationException()`

        Description

        `Thread.resume()`, `Thread.stop()`, and `Thread.suspend()` always throws a `new UnsupportedOperationException` in Java 21+. This recipe makes that explicit, as the migration is more complicated.See https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/lang/doc-files/threadPrimitiveDeprecation.html .

        Depth: 3

      • org.openrewrite.java.migrate.net.URLConstructorsToURIRecipes

        Name

        `URLConstructorsToURI` Refaster recipes

        Description

        Refaster template recipes for `org.openrewrite.java.migrate.net.URLConstructorsToURI`.

        Depth: 3

        Included recipes

        • org.openrewrite.java.migrate.net.URLConstructorsToURIRecipes$URLSingleArgumentConstructorRecipe

          Name

          Convert `new URL(String)` to `URI.create(String).toURL()`

          Description

          Converts `new URL(String)` constructors to `URI.create(String).toURL()`.

          Depth: 4

        • org.openrewrite.java.migrate.net.URLConstructorsToURIRecipes$URLThreeArgumentConstructorRecipe

          Name

          Convert `new URL(String, String, String)` to `new URI(...).toURL()`

          Description

          Converts `new URL(String, String, String)` constructors to `new URI(...).toURL()`.

          Depth: 4

        • org.openrewrite.java.migrate.net.URLConstructorsToURIRecipes$URLFourArgumentConstructorRecipe

          Name

          Convert `new URL(String, String, int, String)` to `new URI(...).toURL()`

          Description

          Converts `new URL(String, String, int, String)` constructors to `new URI(...).toURL()`.

          Depth: 4

      • org.openrewrite.java.migrate.util.UseLocaleOf

        Name

        Prefer `Locale.of(..)` over `new Locale(..)`

        Description

        Prefer `Locale.of(..)` over `new Locale(..)` in Java 19 or higher.

        Depth: 3

      • org.openrewrite.staticanalysis.ReplaceDeprecatedRuntimeExecMethods

        Name

        Replace deprecated `Runtime#exec()` methods

        Description

        Replace `Runtime#exec(String)` methods to use `exec(String[])` instead because the former is deprecated after Java 18 and is no longer recommended for use by the Java documentation.

        Depth: 3

      • org.openrewrite.github.SetupJavaUpgradeJavaVersion

        Name

        Upgrade `actions/setup-java` `java-version`

        Description

        Update the Java version used by `actions/setup-java` if it is below the expected version number.

        Used Parameters

        Name Value Description

        Depth: 3

      • org.openrewrite.java.migrate.UpgradePluginsForJava21

        Name

        Upgrade plugins to Java 21 compatible versions

        Description

        Updates plugins and dependencies to version compatible with Java 21.

        Depth: 3

        Included recipes

        • org.openrewrite.gradle.UpdateGradleWrapper

          Name

          Update Gradle wrapper

          Description

          Update the version of Gradle used in an existing Gradle wrapper. Queries services.gradle.org to determine the available releases, but prefers the artifact repository URL which already exists within the wrapper properties file. If your artifact repository does not contain the same Gradle distributions as services.gradle.org, then the recipe may suggest a version which is not available in your artifact repository.

          Used Parameters

          Name Value Description
          version
          8.5
          An exact version number or node-style semver selector used to select the version number. Defaults to the latest release available from services.gradle.org if not specified.
          addIfMissing
          false
          Add a Gradle wrapper, if it's missing. Defaults to `true`.

          Depth: 4

        • org.openrewrite.maven.UpgradePluginVersion

          Name

          Upgrade Maven plugin version

          Description

          Upgrade the version of a plugin using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          com.sonatype.clm
          The first part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
          artifactId
          clm-maven-plugin
          The second part of a dependency coordinate 'org.openrewrite.maven:rewrite-maven-plugin:VERSION'. Supports globs.
          newVersion
          2.47.8-01
          An exact version number or node-style semver selector used to select the version number. You can also use `latest.release` for the latest available version and `latest.patch` if the current version is a valid semantic version. For more details, you can look at the documentation page of [version selectors](https://docs.openrewrite.org/reference/dependency-version-selectors)

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          com.google.guava
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          guava
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          29.0
          An exact version number or node-style semver selector used to select the version number.
          versionPattern
          -jre
          Allows version selection to be extended beyond the original Node Semver semantics. So for example,Setting 'version' to "25-29" can be paired with a metadata pattern of "-jre" to select Guava 29.0-jre

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          net.bytebuddy
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          byte-buddy
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          1.14.11
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.java.dependencies.UpgradeDependencyVersion

          Name

          Upgrade Gradle or Maven dependency versions

          Description

          For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

          Used Parameters

          Name Value Description
          groupId
          org.modelmapper
          The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          artifactId
          modelmapper
          The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
          newVersion
          3.2.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

      • org.openrewrite.java.migrate.DeleteDeprecatedFinalize

        Name

        Avoid using the deprecated empty `finalize()` method in `java.desktop`

        Description

        The java.desktop module had a few implementations of finalize() that did nothing and have been removed. This recipe will remove these methods.

        Depth: 3

        Included recipes

        • org.openrewrite.java.RemoveMethodInvocations

          Name

          Remove method invocations

          Description

          Remove method invocations if syntactically safe.

          Used Parameters

          Name Value Description
          methodPattern
          java.awt.color.ICC_Profile finalize()
          A pattern to match method invocations for removal.

          Depth: 4

        • org.openrewrite.java.RemoveMethodInvocations

          Name

          Remove method invocations

          Description

          Remove method invocations if syntactically safe.

          Used Parameters

          Name Value Description
          methodPattern
          java.awt.image.ColorModel finalize()
          A pattern to match method invocations for removal.

          Depth: 4

        • org.openrewrite.java.RemoveMethodInvocations

          Name

          Remove method invocations

          Description

          Remove method invocations if syntactically safe.

          Used Parameters

          Name Value Description
          methodPattern
          java.awt.image.IndexColorModel finalize()
          A pattern to match method invocations for removal.

          Depth: 4

      • org.openrewrite.java.migrate.RemovedSubjectMethods

        Name

        Adopt `javax.security.auth.Subject.current()` and `javax.security.auth.Subject.callAs()` methods`

        Description

        Replaces the `javax.security.auth.Subject.getSubject()` and `javax.security.auth.Subject.doAs()` methods with `javax.security.auth.Subject.current()` and `javax.security.auth.Subject.callAs()`.

        Depth: 3

        Included recipes

        • org.openrewrite.java.ChangeMethodName

          Name

          Change method name

          Description

          Rename a method.

          Used Parameters

          Name Value Description
          methodPattern
          javax.security.auth.Subject getSubject()
          A method pattern that is used to find matching method declarations/invocations.
          newMethodName
          current
          The method name that will replace the existing name.

          Depth: 4

        • org.openrewrite.java.ChangeMethodName

          Name

          Change method name

          Description

          Rename a method.

          Used Parameters

          Name Value Description
          methodPattern
          javax.security.auth.Subject doAs()
          A method pattern that is used to find matching method declarations/invocations.
          newMethodName
          callAs
          The method name that will replace the existing name.

          Depth: 4

    • com.sap.cx.rewrite.groovy.testing.UpdateToSpock_2_1

      Name

      Update Spock to 2.1

      Description

      Updates Spock from 2.0 to 2.1 applying required code changes for compatibility with the newer version.

      Depth: 2

      Included recipes

      • com.sap.cx.rewrite.spock.AddDataPrefixInConditionalExtensionAnnotations

        Name

        Add `data.` prefix in Spock conditional extension annotations

        Description

        Updates Spock's precondition annotations (@IgnoreIf, @Requires, @PendingFeatureIf) so that any variable coming from the test's data table is prefixed with `data.` (e.g., `id` → `data.id`). This is required for compatibility with newer Spock versions where data variables must be accessed via the `data` map.

        Depth: 3

    • com.sap.cx.rewrite.java.update.AssertjUpdateTo3_27_internal

      Name

      Update AssertJ to version 3.27.x

      Description

      Updates AssertJ to version 3.27.x and applies required code changes.

      Depth: 2

      Included recipes

      • com.sap.cx.rewrite.assertj.ReplaceListAssertWithObjectAssertMethod

        Name

        Replace AssertJ method with another method if executed in context of 'extracting' method with single argument

        Description

        Replaces AssertJ method with another method if executed in context of 'extracting' method with single argument. In newer versions of AssertJ 'extracting' method with single argument returns 'org.assertj.core.api.AbstractObjectAssert' instead of 'org.assertj.core.api.AbstractObjectArrayAssert'. For example, replace 'containsOnly' with 'isEqualTo' if it is executed in context of 'extracting' method with single argument.

        Used Parameters

        Name Value Description
        toReplaceMethodSignature
        org.assertj.core.api.AbstractObjectArrayAssert containsOnly(..)
        Specify the method matcher for the method to be replaced with isEqualTo
        replaceToMethodName
        isEqualTo

        Depth: 3

      • com.sap.cx.rewrite.assertj.ReplaceListAssertWithObjectAssertMethod

        Name

        Replace AssertJ method with another method if executed in context of 'extracting' method with single argument

        Description

        Replaces AssertJ method with another method if executed in context of 'extracting' method with single argument. In newer versions of AssertJ 'extracting' method with single argument returns 'org.assertj.core.api.AbstractObjectAssert' instead of 'org.assertj.core.api.AbstractObjectArrayAssert'. For example, replace 'containsOnly' with 'isEqualTo' if it is executed in context of 'extracting' method with single argument.

        Used Parameters

        Name Value Description
        toReplaceMethodSignature
        org.assertj.core.api.AbstractObjectArrayAssert contains(..)
        Specify the method matcher for the method to be replaced with isEqualTo
        replaceToMethodName
        isEqualTo

        Depth: 3

      • com.sap.cx.rewrite.assertj.ReplaceListAssertWithObjectAssertMethod

        Name

        Replace AssertJ method with another method if executed in context of 'extracting' method with single argument

        Description

        Replaces AssertJ method with another method if executed in context of 'extracting' method with single argument. In newer versions of AssertJ 'extracting' method with single argument returns 'org.assertj.core.api.AbstractObjectAssert' instead of 'org.assertj.core.api.AbstractObjectArrayAssert'. For example, replace 'containsOnly' with 'isEqualTo' if it is executed in context of 'extracting' method with single argument.

        Used Parameters

        Name Value Description
        toReplaceMethodSignature
        org.assertj.core.api.AbstractObjectArrayAssert containsExactly(..)
        Specify the method matcher for the method to be replaced with isEqualTo
        replaceToMethodName
        isEqualTo

        Depth: 3

      • com.sap.cx.rewrite.assertj.ReplaceListAssertWithObjectAssertMethod

        Name

        Replace AssertJ method with another method if executed in context of 'extracting' method with single argument

        Description

        Replaces AssertJ method with another method if executed in context of 'extracting' method with single argument. In newer versions of AssertJ 'extracting' method with single argument returns 'org.assertj.core.api.AbstractObjectAssert' instead of 'org.assertj.core.api.AbstractObjectArrayAssert'. For example, replace 'containsOnly' with 'isEqualTo' if it is executed in context of 'extracting' method with single argument.

        Used Parameters

        Name Value Description
        toReplaceMethodSignature
        org.assertj.core.api.AbstractObjectArrayAssert containsExactlyInAnyOrder(..)
        Specify the method matcher for the method to be replaced with isEqualTo
        replaceToMethodName
        isEqualTo

        Depth: 3

      • com.sap.cx.rewrite.assertj.ReplaceListAssertWithObjectAssertMethod

        Name

        Replace AssertJ method with another method if executed in context of 'extracting' method with single argument

        Description

        Replaces AssertJ method with another method if executed in context of 'extracting' method with single argument. In newer versions of AssertJ 'extracting' method with single argument returns 'org.assertj.core.api.AbstractObjectAssert' instead of 'org.assertj.core.api.AbstractObjectArrayAssert'. For example, replace 'containsOnly' with 'isEqualTo' if it is executed in context of 'extracting' method with single argument.

        Used Parameters

        Name Value Description
        toReplaceMethodSignature
        org.assertj.core.api.AbstractObjectArrayAssert hasOnlyElementsOfType(..)
        Specify the method matcher for the method to be replaced with isEqualTo
        replaceToMethodName
        isInstanceOf

        Depth: 3

      • com.sap.cx.rewrite.assertj.ReplaceListAssertWithObjectAssertMethod

        Name

        Replace AssertJ method with another method if executed in context of 'extracting' method with single argument

        Description

        Replaces AssertJ method with another method if executed in context of 'extracting' method with single argument. In newer versions of AssertJ 'extracting' method with single argument returns 'org.assertj.core.api.AbstractObjectAssert' instead of 'org.assertj.core.api.AbstractObjectArrayAssert'. For example, replace 'containsOnly' with 'isEqualTo' if it is executed in context of 'extracting' method with single argument.

        Used Parameters

        Name Value Description
        toReplaceMethodSignature
        org.assertj.core.api.AbstractObjectArrayAssert hasOnlyOneElementSatisfying(..)
        Specify the method matcher for the method to be replaced with isEqualTo
        replaceToMethodName
        satisfies

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.assertj.core.api.AbstractComparableAssert isGreaterThan(java.time.Instant)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        isAfter
        The method name that will replace the existing name.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.assertj.core.api.AbstractComparableAssert isGreaterThanOrEqualTo(java.time.Instant)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        isAfterOrEqualTo
        The method name that will replace the existing name.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.assertj.core.api.AbstractComparableAssert isLessThan(java.time.Instant)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        isBefore
        The method name that will replace the existing name.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.assertj.core.api.AbstractComparableAssert isLessThanOrEqualTo(java.time.Instant)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        isBeforeOrEqualTo
        The method name that will replace the existing name.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.assertj.core.api.AbstractComparableAssert isEqualByComparingTo(java.time.Instant)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        isEqualTo
        The method name that will replace the existing name.

        Depth: 3

      • org.openrewrite.java.dependencies.UpgradeDependencyVersion

        Name

        Upgrade Gradle or Maven dependency versions

        Description

        For Gradle projects, upgrade the version of a dependency in a `build.gradle` file. Supports updating dependency declarations of various forms: * `String` notation: `"group:artifact:version"` * `Map` notation: `group: 'group', name: 'artifact', version: 'version'` It is possible to update version numbers which are defined earlier in the same file in variable declarations. For Maven projects, upgrade the version of a dependency by specifying a group ID and (optionally) an artifact ID using Node Semver advanced range selectors, allowing more precise control over version updates to patch or minor releases.

        Used Parameters

        Name Value Description
        groupId
        org.assertj
        The first part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
        artifactId
        assertj-core
        The second part of a dependency coordinate `com.google.guava:guava:VERSION`. This can be a glob expression.
        newVersion
        3.27.3
        An exact version number or node-style semver selector used to select the version number.

        Depth: 3

    • com.sap.cx.rewrite.java.ApacheCommonsEmailUpdate

      Name

      Update Apache Commons Email to version 2.

      Description

      Provides set of automated steps to smoothen update from Apache Commons Email to Apache Commons Email 2 with Jakarta namespace.

      Depth: 2

      Included recipes

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.mail.EmailConstants
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.mail2.core.EmailConstants
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.mail.EmailException
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.mail2.core.EmailException
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangePackage

        Name

        Rename package name

        Description

        A recipe that will rename a package name in package statements, imports, and fully-qualified types.

        Used Parameters

        Name Value Description
        oldPackageName
        org.apache.commons.mail
        The package name to replace.
        newPackageName
        org.apache.commons.mail2.jakarta
        New package name to replace the old package name with.
        recursive
        true
        Recursively change subpackage names

        Depth: 3

      • org.openrewrite.java.dependencies.ChangeDependency

        Name

        Change Gradle or Maven dependency

        Description

        Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

        Used Parameters

        Name Value Description
        oldGroupId
        org.apache.commons
        The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
        oldArtifactId
        commons-email
        The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
        newGroupId
        org.apache.commons
        The new group ID to use. Defaults to the existing group ID.
        newArtifactId
        commons-email2-jakarta
        The new artifact ID to use. Defaults to the existing artifact ID.
        newVersion
        2.0.0-M1
        An exact version number or node-style semver selector used to select the version number.

        Depth: 3

      • org.openrewrite.maven.AddDependency

        Name

        Add Maven dependency

        Description

        Add a Maven dependency to a `pom.xml` file in the correct scope based on where it is used.

        Used Parameters

        Name Value Description
        groupId
        org.apache.commons
        The first part of a dependency coordinate `com.google.guava:guava:VERSION`.
        artifactId
        commons-email2-core
        The second part of a dependency coordinate `com.google.guava:guava:VERSION`.
        version
        2.0.0-M1
        An exact version number or node-style semver selector used to select the version number.
        onlyIfUsing
        org.apache.commons.mail.*
        Used to determine if the dependency will be added and in which scope it should be placed.
        acceptTransitive
        true
        Default false. If enabled, the dependency will not be added if it is already on the classpath as a transitive dependency.

        Depth: 3

    • com.sap.cx.rewrite.java.update.ApacheCommonsConfiguration1to2Update

      Name

      Update Apache Commons Configuration to 2.x

      Description

      Updates Apache Commons Configuration from 1.x to 2.x by adjusting types, packages, and dependencies for compatibility with the newer library version.

      Depth: 2

      Included recipes

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.configuration.event.ConfigurationEvent
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.configuration2.event.Event
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.configuration.event.ConfigurationListener
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.configuration2.event.EventListener
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.configuration.ConversionException
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.configuration2.ex.ConversionException
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.configuration.PropertyConverter
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.configuration2.convert.PropertyConverter
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangePackage

        Name

        Rename package name

        Description

        A recipe that will rename a package name in package statements, imports, and fully-qualified types.

        Used Parameters

        Name Value Description
        oldPackageName
        org.apache.commons.configuration
        The package name to replace.
        newPackageName
        org.apache.commons.configuration2
        New package name to replace the old package name with.
        recursive
        true
        Recursively change subpackage names

        Depth: 3

      • org.openrewrite.java.dependencies.ChangeDependency

        Name

        Change Gradle or Maven dependency

        Description

        Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

        Used Parameters

        Name Value Description
        oldGroupId
        commons-configuration
        The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
        oldArtifactId
        commons-configuration
        The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
        newGroupId
        org.apache.commons
        The new group ID to use. Defaults to the existing group ID.
        newArtifactId
        commons-configuration2
        The new artifact ID to use. Defaults to the existing artifact ID.
        newVersion
        2.11.0
        An exact version number or node-style semver selector used to select the version number.

        Depth: 3

    • com.sap.cx.rewrite.java.update.ApacheCommonsLang2to3Update

      Name

      Update Apache Commons Lang to 3.x

      Description

      Updates Apache Commons Lang from 2.x to 3.x, adjusting types, method names, and dependencies for compatibility with the latest version.

      Depth: 2

      Included recipes

      • com.sap.cx.rewrite.ParseExternalDependenciesAsMaven

        Name

        Parse `external-dependencies.xml` as a Maven file

        Description

        Parses `external-dependencies.xml` as a Maven file. This recipe can be added in a recipe chain ahead of other recipes that may update the dependencies in the Maven file.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.lang.StringEscapeUtils escapeHtml(java.lang.String)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        escapeHtml4
        The method name that will replace the existing name.
        matchOverrides
        true
        When enabled, find methods that are overrides of the method pattern.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.lang.StringEscapeUtils unescapeHtml(java.lang.String)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        unescapeHtml4
        The method name that will replace the existing name.
        matchOverrides
        true
        When enabled, find methods that are overrides of the method pattern.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.WordUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.text.WordUtils
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.StringEscapeUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.text.StringEscapeUtils
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.text.StrSubstitutor
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.text.StringSubstitutor
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.math.RandomUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.RandomUtils
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.CharEncoding
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.nio.charset.StandardCharsets
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.ObjectUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.util.Objects
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.builder.HashCodeBuilder
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.builder.HashCodeBuilder
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.builder.ToStringStyle
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.builder.ToStringStyle
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.builder.ToStringBuilder
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.builder.ToStringBuilder
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.time.DateUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.time.DateUtils
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.builder.EqualsBuilder
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.builder.EqualsBuilder
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.math.NumberUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.math.NumberUtils
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.time.DateFormatUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.time.DateFormatUtils
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.lang.time.DurationFormatUtils
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        org.apache.commons.lang3.time.DurationFormatUtils
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.DeleteMethodArgument

        Name

        Delete method argument

        Description

        Delete an argument from method invocations.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.lang.NotImplementedException (java.lang.Class)
        A method pattern that is used to find matching method invocations.
        argumentIndex
        0
        A zero-based index that indicates which argument will be removed from the method invocation.

        Depth: 3

      • org.openrewrite.apache.commons.lang.UpgradeApacheCommonsLang_2_3

        Name

        Migrates to Apache Commons Lang 3.x

        Description

        Migrate applications to the latest Apache Commons Lang 3.x release. This recipe modifies application's build files, and changes the package as per [the migration release notes](https://commons.apache.org/proper/commons-lang/article3_0.html).

        Depth: 3

        Included recipes

        • org.openrewrite.java.dependencies.ChangeDependency

          Name

          Change Gradle or Maven dependency

          Description

          Change the group ID, artifact ID, and/or the version of a specified Gradle or Maven dependency.

          Used Parameters

          Name Value Description
          oldGroupId
          commons-lang
          The old group ID to replace. The group ID is the first part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
          oldArtifactId
          commons-lang
          The old artifact ID to replace. The artifact ID is the second part of a dependency coordinate 'com.google.guava:guava:VERSION'. Supports glob expressions.
          newGroupId
          org.apache.commons
          The new group ID to use. Defaults to the existing group ID.
          newArtifactId
          commons-lang3
          The new artifact ID to use. Defaults to the existing artifact ID.
          newVersion
          3.x
          An exact version number or node-style semver selector used to select the version number.

          Depth: 4

        • org.openrewrite.java.ChangePackage

          Name

          Rename package name

          Description

          A recipe that will rename a package name in package statements, imports, and fully-qualified types.

          Used Parameters

          Name Value Description
          oldPackageName
          org.apache.commons.lang
          The package name to replace.
          newPackageName
          org.apache.commons.lang3
          New package name to replace the old package name with.

          Depth: 4

    • com.sap.cx.rewrite.java.update.ApacheCommonsBeanUtilsUpdate

      Name

      Update Apache Commons BeanUtils to 2.x

      Description

      Applies required code changes for transitioning to Apache Commons BeanUtils 2.x, including package updates and constructor enhancements, to support the latest library structure.

      Depth: 2

      Included recipes

      • com.sap.cx.rewrite.AddDiamondToBeanUtilsPredicateAndTransformerConstructors

        Name

        Add diamond operator to BeanUtils predicate and transformer constructors

        Description

        Replaces raw constructor calls of BeanPropertyValueEqualsPredicate and BeanToPropertyValueTransformer with diamond operator syntax (<>).

        Depth: 3

      • org.openrewrite.java.ChangePackage

        Name

        Rename package name

        Description

        A recipe that will rename a package name in package statements, imports, and fully-qualified types.

        Used Parameters

        Name Value Description
        oldPackageName
        org.apache.commons.beanutils
        The package name to replace.
        newPackageName
        org.apache.commons.beanutils2
        New package name to replace the old package name with.
        recursive
        true
        Recursively change subpackage names

        Depth: 3

    • com.sap.cx.rewrite.java.update.ApacheCommonsCollectionsUpdate

      Name

      Update Apache Commons Collections to 4.x

      Description

      Applies code and package updates to transition from Apache Commons Collections 3.x to 4.x, replacing deprecated types and methods with Java standard alternatives where applicable.

      Depth: 2

      Included recipes

      • com.sap.cx.rewrite.ChangeStaticFieldToMethodChainAware

        Name

        Change static field access to static method invocation (chain-aware)

        Description

        Updates all accesses of a static field (even inside method chains) to an equivalent static method call, ensuring correct replacement in all contexts (including chained expressions). For example, this can transform 'SetUtils.EMPTY_SET.stream()' to 'Collections.emptySet().stream()'. All import statements are automatically managed and method chaining is fully supported.

        Used Parameters

        Name Value Description
        oldClassName
        org.apache.commons.collections.SetUtils
        The fully qualified name of the class containing the field to replace.
        oldFieldName
        EMPTY_SET
        The simple name of the static field to replace.
        newClassName
        java.util.Collections
        The fully qualified name of the class containing the method to use. Leave empty to keep the same class.
        newMethodName
        emptySet
        The simple name of the method to use. The method must be static and have no arguments.

        Depth: 3

      • com.sap.cx.rewrite.ChangeStaticFieldToMethodChainAware

        Name

        Change static field access to static method invocation (chain-aware)

        Description

        Updates all accesses of a static field (even inside method chains) to an equivalent static method call, ensuring correct replacement in all contexts (including chained expressions). For example, this can transform 'SetUtils.EMPTY_SET.stream()' to 'Collections.emptySet().stream()'. All import statements are automatically managed and method chaining is fully supported.

        Used Parameters

        Name Value Description
        oldClassName
        org.apache.commons.collections.ListUtils
        The fully qualified name of the class containing the field to replace.
        oldFieldName
        EMPTY_List
        The simple name of the static field to replace.
        newClassName
        java.util.Collections
        The fully qualified name of the class containing the method to use. Leave empty to keep the same class.
        newMethodName
        emptyList
        The simple name of the method to use. The method must be static and have no arguments.

        Depth: 3

      • com.sap.cx.rewrite.ChangeStaticFieldToMethodChainAware

        Name

        Change static field access to static method invocation (chain-aware)

        Description

        Updates all accesses of a static field (even inside method chains) to an equivalent static method call, ensuring correct replacement in all contexts (including chained expressions). For example, this can transform 'SetUtils.EMPTY_SET.stream()' to 'Collections.emptySet().stream()'. All import statements are automatically managed and method chaining is fully supported.

        Used Parameters

        Name Value Description
        oldClassName
        org.apache.commons.collections.MapUtils
        The fully qualified name of the class containing the field to replace.
        oldFieldName
        EMPTY_MAP
        The simple name of the static field to replace.
        newClassName
        java.util.Collections
        The fully qualified name of the class containing the method to use. Leave empty to keep the same class.
        newMethodName
        emptyMap
        The simple name of the method to use. The method must be static and have no arguments.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.collections.map.IdentityMap
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.util.IdentityHashMap
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.collections.map.HashedMap
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.util.HashMap
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.RemoveMethodInvocations

        Name

        Remove method invocations

        Description

        Remove method invocations if syntactically safe.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.collections.FastArrayList setFast(boolean)
        A pattern to match method invocations for removal.

        Depth: 3

      • org.openrewrite.java.RemoveMethodInvocations

        Name

        Remove method invocations

        Description

        Remove method invocations if syntactically safe.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.collections.FastHashMap setFast(boolean)
        A pattern to match method invocations for removal.

        Depth: 3

      • com.sap.cx.rewrite.RemoveMethodCallOnCast

        Name

        Remove method calls on casted objects matching provided pattern

        Description

        Removes method invocations matching the given pattern when the method is called on a casted expression.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.collections.FastArrayList setFast(boolean)
        Method pattern like 'com.example.MyType methodName(..)' to remove when called on a casted object.

        Depth: 3

      • com.sap.cx.rewrite.RemoveMethodCallOnCast

        Name

        Remove method calls on casted objects matching provided pattern

        Description

        Removes method invocations matching the given pattern when the method is called on a casted expression.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.collections.FastHashMap setFast(boolean)
        Method pattern like 'com.example.MyType methodName(..)' to remove when called on a casted object.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.collections.FastArrayList
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.util.concurrent.CopyOnWriteArrayList
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.collections.FastHashMap
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.util.concurrent.ConcurrentHashMap
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.collections.ArrayStack
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.util.ArrayDeque
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.collections.Predicate evaluate(..)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        test
        The method name that will replace the existing name.
        matchOverrides
        true
        When enabled, find methods that are overrides of the method pattern.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.collections.Predicate
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.util.function.Predicate
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.collections.Closure execute(..)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        accept
        The method name that will replace the existing name.
        matchOverrides
        true
        When enabled, find methods that are overrides of the method pattern.

        Depth: 3

      • org.openrewrite.java.ChangeType

        Name

        Change type

        Description

        Change a given type to another.

        Used Parameters

        Name Value Description
        oldFullyQualifiedTypeName
        org.apache.commons.collections.Closure
        Fully-qualified class name of the original type.
        newFullyQualifiedTypeName
        java.util.function.Consumer
        Fully-qualified class name of the replacement type, or the name of a primitive such as "int". The `OuterClassName$NestedClassName` naming convention should be used for nested classes.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.collections.set.UnmodifiableSet decorate(java.util.Set)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        unmodifiableSet
        The method name that will replace the existing name.
        matchOverrides
        true
        When enabled, find methods that are overrides of the method pattern.

        Depth: 3

      • org.openrewrite.java.ChangeMethodName

        Name

        Change method name

        Description

        Rename a method.

        Used Parameters

        Name Value Description
        methodPattern
        org.apache.commons.collections.list.UnmodifiableList decorate(java.util.List)
        A method pattern that is used to find matching method declarations/invocations.
        newMethodName
        unmodifiableList
        The method name that will replace the existing name.
        matchOverrides
        true
        When enabled, find methods that are overrides of the method pattern.

        Depth: 3

      • com.sap.cx.rewrite.ReplaceCollectionUtilsMethodsWithJavaStreams

        Name

        Replace CollectionUtils methods with Stream API equivalents

        Description

        Replaces usage of Apache Commons Collections CollectionUtils methods such as `select`, `selectRejected`, `collect`, `filter`, `exists`, `find` and `forAllDo` with Java Stream API alternatives.

        Depth: 3

      • org.openrewrite.java.ChangePackage

        Name

        Rename package name

        Description

        A recipe that will rename a package name in package statements, imports, and fully-qualified types.

        Used Parameters

        Name Value Description
        oldPackageName
        org.apache.commons.collections
        The package name to replace.
        newPackageName
        org.apache.commons.collections4
        New package name to replace the old package name with.
        recursive
        true
        Recursively change subpackage names

        Depth: 3


Statistics


Total analysis depth: 17
Total recipe count: 3052