org.openrewrite.java.upgrade.UpdateStaticAnalysisPackage
Some recipes have been moved from rewrite
to rewrite-static-analysis
, so any referencing places should update the class package name accordingly.
GitHub, Issue Tracker, Maven Central
- groupId: org.openrewrite
- artifactId: rewrite-java
- version: 8.1.3
Update referencing places in java file.
{% tabs %} {% tab title="org/openrewrite/java/migrate/UseJavaUtilBase64.java" %}
{% code title="org/openrewrite/java/migrate/UseJavaUtilBase64.java" %}
package org.openrewrite.java.migrate;
import org.openrewrite.ExecutionContext;
import org.openrewrite.Recipe;
import org.openrewrite.TreeVisitor;
import org.openrewrite.java.JavaVisitor;
import org.openrewrite.java.cleanup.SimplifyBooleanExpression;
import org.openrewrite.java.cleanup.UnnecessaryCatch;
import org.openrewrite.java.tree.J;
public class UseJavaUtilBase64 extends Recipe {
@Override
public String getDisplayName() {return "Prefer `java.util.Base64` instead of `sun.misc`";}
@Override
public String getDescription() {return "Prefer `java.util.Base64` instead of `sun.misc`.";}
@Override
public TreeVisitor<?, ExecutionContext> getVisitor() {
return new JavaVisitor<ExecutionContext>() {
@Override
public J visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx) {
J.MethodInvocation m = (J.MethodInvocation) super.visitMethodInvocation(method, ctx);
// expect to change
doAfterVisit(new UnnecessaryCatch(false).getVisitor());
org.openrewrite.java.cleanup.UnnecessaryCatch v1 = new org.openrewrite.java.cleanup.UnnecessaryCatch(true);
// expect no change
doAfterVisit(new SimplifyBooleanExpression().getVisitor());
org.openrewrite.java.cleanup.SimplifyBooleanExpression v2 = new org.openrewrite.java.cleanup.SimplifyBooleanExpression();
return m;
}
};
}
}
{% endcode %}
{% code title="org/openrewrite/java/migrate/UseJavaUtilBase64.java" %}
package org.openrewrite.java.migrate;
import org.openrewrite.ExecutionContext;
import org.openrewrite.Recipe;
import org.openrewrite.TreeVisitor;
import org.openrewrite.java.JavaVisitor;
import org.openrewrite.java.cleanup.SimplifyBooleanExpression;
import org.openrewrite.java.tree.J;
import org.openrewrite.staticanalysis.UnnecessaryCatch;
public class UseJavaUtilBase64 extends Recipe {
@Override
public String getDisplayName() {return "Prefer `java.util.Base64` instead of `sun.misc`";}
@Override
public String getDescription() {return "Prefer `java.util.Base64` instead of `sun.misc`.";}
@Override
public TreeVisitor<?, ExecutionContext> getVisitor() {
return new JavaVisitor<ExecutionContext>() {
@Override
public J visitMethodInvocation(J.MethodInvocation method, ExecutionContext ctx) {
J.MethodInvocation m = (J.MethodInvocation) super.visitMethodInvocation(method, ctx);
// expect to change
doAfterVisit(new UnnecessaryCatch(false).getVisitor());
org.openrewrite.staticanalysis.UnnecessaryCatch v1 = new org.openrewrite.staticanalysis.UnnecessaryCatch(true);
// expect no change
doAfterVisit(new SimplifyBooleanExpression().getVisitor());
org.openrewrite.java.cleanup.SimplifyBooleanExpression v2 = new org.openrewrite.java.cleanup.SimplifyBooleanExpression();
return m;
}
};
}
}
{% endcode %}
{% endtab %} {% tab title="Diff" %} {% code %}
--- org/openrewrite/java/migrate/UseJavaUtilBase64.java
+++ org/openrewrite/java/migrate/UseJavaUtilBase64.java
@@ -8,1 +8,0 @@
import org.openrewrite.java.JavaVisitor;
import org.openrewrite.java.cleanup.SimplifyBooleanExpression;
-import org.openrewrite.java.cleanup.UnnecessaryCatch;
import org.openrewrite.java.tree.J;
@@ -10,0 +9,1 @@
import org.openrewrite.java.cleanup.UnnecessaryCatch;
import org.openrewrite.java.tree.J;
+import org.openrewrite.staticanalysis.UnnecessaryCatch;
@@ -28,1 +28,1 @@
// expect to change
doAfterVisit(new UnnecessaryCatch(false).getVisitor());
- org.openrewrite.java.cleanup.UnnecessaryCatch v1 = new org.openrewrite.java.cleanup.UnnecessaryCatch(true);
+ org.openrewrite.staticanalysis.UnnecessaryCatch v1 = new org.openrewrite.staticanalysis.UnnecessaryCatch(true);
{% endcode %} {% endtab %} {% endtabs %}
Update referencing places in yaml file.
{% tabs %} {% tab title="yaml" %}
{% code %}
type: specs.openrewrite.org/v1beta/recipe
name: org.example.bank.Internal
displayName: org.example.bank.Internal
description: org.example.bank.Internal
recipeList:
- org.openrewrite.java.cleanup.AddSerialVersionUidToSerializable
{% endcode %}
{% code %}
type: specs.openrewrite.org/v1beta/recipe
name: org.example.bank.Internal
displayName: org.example.bank.Internal
description: org.example.bank.Internal
recipeList:
- org.openrewrite.staticanalysis.AddSerialVersionUidToSerializable
{% endcode %}
{% endtab %} {% tab title="Diff" %} {% code %}
@@ -6,1 +6,1 @@
description: org.example.bank.Internal
recipeList:
- - org.openrewrite.java.cleanup.AddSerialVersionUidToSerializable
+ - org.openrewrite.staticanalysis.AddSerialVersionUidToSerializable
{% endcode %} {% endtab %} {% endtabs %}
Update referencing places in pom.xml.
{% tabs %} {% tab title="pom.xml" %}
{% code title="pom.xml" %}
<project>
<groupId>org.example</groupId>
<artifactId>foo</artifactId>
<version>1.0</version>
<build>
<plugins>
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>4.45.0</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.cleanup.AddSerialVersionUidToSerializable</recipe>
</activeRecipes>
</configuration>
</plugin>
</plugins>
</build>
</project>
{% endcode %}
{% code title="pom.xml" %}
<project>
<groupId>org.example</groupId>
<artifactId>foo</artifactId>
<version>1.0</version>
<build>
<plugins>
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>4.45.0</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.staticanalysis.AddSerialVersionUidToSerializable</recipe>
</activeRecipes>
</configuration>
</plugin>
</plugins>
</build>
</project>
{% endcode %}
{% endtab %} {% tab title="Diff" %} {% code %}
--- pom.xml
+++ pom.xml
@@ -13,1 +13,1 @@
<configuration>
<activeRecipes>
- <recipe>org.openrewrite.java.cleanup.AddSerialVersionUidToSerializable</recipe>
+ <recipe>org.openrewrite.staticanalysis.AddSerialVersionUidToSerializable</recipe>
</activeRecipes>
@@ -20,1 +20,0 @@
</build>
</project>
-
{% endcode %} {% endtab %} {% endtabs %}
This recipe has no required configuration parameters and comes from a rewrite core library. It can be activated directly without adding any dependencies. {% tabs %} {% tab title="Gradle" %} {% code title="build.gradle" %}
plugins {
id("org.openrewrite.rewrite") version("6.1.4")
}
rewrite {
activeRecipe("org.openrewrite.java.upgrade.UpdateStaticAnalysisPackage")
}
repositories {
mavenCentral()
}
{% endcode %} {% endtab %} {% tab title="Maven POM" %} {% code title="pom.xml" %}
<project>
<build>
<plugins>
<plugin>
<groupId>org.openrewrite.maven</groupId>
<artifactId>rewrite-maven-plugin</artifactId>
<version>5.2.4</version>
<configuration>
<activeRecipes>
<recipe>org.openrewrite.java.upgrade.UpdateStaticAnalysisPackage</recipe>
</activeRecipes>
</configuration>
</plugin>
</plugins>
</build>
</project>
{% endcode %} {% endtab %}
{% tab title="Maven Command Line" %} You will need to have Maven installed on your machine before you can run the following command. {% code title="shell" %}
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \
-Drewrite.activeRecipes=org.openrewrite.java.upgrade.UpdateStaticAnalysisPackage
{% endcode %} {% endtab %} {% endtabs %}
{% tabs %} {% tab title="Recipe List" %}
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.AddSerialVersionUidToSerializable
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.AddSerialVersionUidToSerializable
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.AtomicPrimitiveEqualsUsesGet
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.AtomicPrimitiveEqualsUsesGet
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.AvoidBoxedBooleanExpressions
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.AvoidBoxedBooleanExpressions
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.BigDecimalRoundingConstantsToEnums
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.BigDecimalRoundingConstantsToEnums
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.BooleanChecksNotInverted
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.BooleanChecksNotInverted
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.CaseInsensitiveComparisonsDoNotChangeCase
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.CaseInsensitiveComparisonsDoNotChangeCase
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.CatchClauseOnlyRethrows
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.CatchClauseOnlyRethrows
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ChainStringBuilderAppendCalls
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ChainStringBuilderAppendCalls
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.CombineSemanticallyEqualCatchBlocks
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.CombineSemanticallyEqualCatchBlocks
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.CompareEnumsWithEqualityOperator
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.CompareEnumsWithEqualityOperator
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ControlFlowIndentation
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ControlFlowIndentation
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.CovariantEquals
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.CovariantEquals
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.DeclarationSiteTypeVariance
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.DeclarationSiteTypeVariance
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.DefaultComesLast
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.DefaultComesLast
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.EmptyBlock
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.EmptyBlock
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.EqualsAvoidsNull
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.EqualsAvoidsNull
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ExplicitCharsetOnStringGetBytes
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ExplicitCharsetOnStringGetBytes
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ExplicitInitialization
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ExplicitInitialization
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ExplicitLambdaArgumentTypes
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ExplicitLambdaArgumentTypes
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ExternalizableHasNoArgsConstructor
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ExternalizableHasNoArgsConstructor
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.FallThrough
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.FallThrough
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.FinalClass
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.FinalClass
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.FinalizeLocalVariables
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.FinalizeLocalVariables
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.FinalizeMethodArguments
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.FinalizeMethodArguments
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.FinalizePrivateFields
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.FinalizePrivateFields
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.FixStringFormatExpressions
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.FixStringFormatExpressions
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ForLoopControlVariablePostfixOperators
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ForLoopIncrementInUpdate
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ForLoopIncrementInUpdate
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.HiddenField
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.HiddenField
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.HideUtilityClassConstructor
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.HideUtilityClassConstructor
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.IndexOfChecksShouldUseAStartPosition
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.IndexOfChecksShouldUseAStartPosition
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.IndexOfReplaceableByContains
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.IndexOfReplaceableByContains
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.IndexOfShouldNotCompareGreaterThanZero
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.IndexOfShouldNotCompareGreaterThanZero
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.InlineVariable
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.InlineVariable
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.InstanceOfPatternMatch
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.InstanceOfPatternMatch
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.IsEmptyCallOnCollections
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.IsEmptyCallOnCollections
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.LambdaBlockToExpression
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.LambdaBlockToExpression
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.LowercasePackage
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.LowercasePackage
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.MethodNameCasing
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.MethodNameCasing
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.MinimumSwitchCases
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.MinimumSwitchCases
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.MissingOverrideAnnotation
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.MissingOverrideAnnotation
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ModifierOrder
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ModifierOrder
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.MultipleVariableDeclarations
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.MultipleVariableDeclarations
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NeedBraces
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NeedBraces
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NestedEnumsAreNotStatic
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NestedEnumsAreNotStatic
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NewStringBuilderBufferWithCharArgument
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NewStringBuilderBufferWithCharArgument
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoDoubleBraceInitialization
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoDoubleBraceInitialization
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoEmptyCollectionWithRawType
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoEmptyCollectionWithRawType
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoEqualityInForCondition
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoEqualityInForCondition
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoFinalizedLocalVariables
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoFinalizedLocalVariables
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoFinalizer
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoFinalizer
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoPrimitiveWrappersForToStringOrCompareTo
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoPrimitiveWrappersForToStringOrCompareTo
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoRedundantJumpStatements
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoRedundantJumpStatements
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoToStringOnStringType
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoToStringOnStringType
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.NoValueOfOnStringType
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.NoValueOfOnStringType
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ObjectFinalizeCallsSuper
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ObjectFinalizeCallsSuper
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.OperatorWrap
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.OperatorWrap
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.PrimitiveWrapperClassConstructorToValueOf
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.PrimitiveWrapperClassConstructorToValueOf
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RedundantFileCreation
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RedundantFileCreation
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReferentialEqualityToObjectEquals
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReferentialEqualityToObjectEquals
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveCallsToObjectFinalize
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveCallsToObjectFinalize
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveCallsToSystemGc
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveCallsToSystemGc
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveEmptyJavaDocParameters
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveEmptyJavaDocParameters
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveInstanceOfPatternMatch
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveInstanceOfPatternMatch
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveJavaDocAuthorTag
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveJavaDocAuthorTag
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveRedundantTypeCast
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveRedundantTypeCast
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveSystemOutPrintln
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveSystemOutPrintln
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveUnneededAssertion
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveUnneededAssertion
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveUnneededBlock
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveUnneededBlock
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveUnusedLocalVariables
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveUnusedLocalVariables
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveUnusedPrivateFields
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveUnusedPrivateFields
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RemoveUnusedPrivateMethods
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RenameExceptionInEmptyCatch
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RenameExceptionInEmptyCatch
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RenameLocalVariablesToCamelCase
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RenameLocalVariablesToCamelCase
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RenameMethodsNamedHashcodeEqualOrTostring
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RenameMethodsNamedHashcodeEqualOrTostring
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RenamePrivateFieldsToCamelCase
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RenamePrivateFieldsToCamelCase
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.RenameToCamelCase
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.RenameToCamelCase
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceDeprecatedRuntimeExecMethods
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceDeprecatedRuntimeExecMethods
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceDuplicateStringLiterals
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceDuplicateStringLiterals
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceLambdaWithMethodReference
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceLambdaWithMethodReference
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceOptionalIsPresentWithIfPresent
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceOptionalIsPresentWithIfPresent
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceRedundantFormatWithPrintf
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceRedundantFormatWithPrintf
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceStackWithDeque
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceStackWithDeque
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceStreamToListWithCollect
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceStreamToListWithCollect
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceStringBuilderWithString
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceStringBuilderWithString
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceTextBlockWithString
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceTextBlockWithString
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.SimplifyCompoundStatement
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.SimplifyCompoundStatement
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.SimplifyConsecutiveAssignments
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.SimplifyConsecutiveAssignments
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.SimplifyConstantIfBranchExecution
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.SimplifyConstantIfBranchExecution
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.SimplifyDurationCreationUnits
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.SimplifyDurationCreationUnits
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.StaticMethodNotFinal
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.StaticMethodNotFinal
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.StringLiteralEquality
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.StringLiteralEquality
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.TypecastParenPad
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.TypecastParenPad
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UnnecessaryCatch
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UnnecessaryCatch
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UnnecessaryCloseInTryWithResources
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UnnecessaryCloseInTryWithResources
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UnnecessaryExplicitTypeArguments
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UnnecessaryExplicitTypeArguments
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UnnecessaryPrimitiveAnnotations
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UnnecessaryPrimitiveAnnotations
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UnnecessaryThrows
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UnnecessaryThrows
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UnwrapRepeatableAnnotations
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UnwrapRepeatableAnnotations
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UpperCaseLiteralSuffixes
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UpperCaseLiteralSuffixes
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseAsBuilder
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseAsBuilder
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseCollectionInterfaces
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseCollectionInterfaces
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseDiamondOperator
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseDiamondOperator
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseForEachRemoveInsteadOfSetRemoveAll
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseForEachRemoveInsteadOfSetRemoveAll
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseJavaStyleArrayDeclarations
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseJavaStyleArrayDeclarations
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseLambdaForFunctionalInterface
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseLambdaForFunctionalInterface
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseObjectNotifyAll
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseObjectNotifyAll
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseStandardCharset
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseStandardCharset
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseStringReplace
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseStringReplace
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.UseSystemLineSeparator
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.UseSystemLineSeparator
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.WhileInsteadOfFor
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.WhileInsteadOfFor
- oldRecipeFullyQualifiedClassName:
- Update moved package recipe
- oldRecipeFullyQualifiedClassName:
org.openrewrite.java.cleanup.WriteOctalValuesAsDecimal
- newRecipeFullyQualifiedClassName:
org.openrewrite.staticanalysis.WriteOctalValuesAsDecimal
- oldRecipeFullyQualifiedClassName:
{% endtab %}
{% tab title="Yaml Recipe List" %}
---
type: specs.openrewrite.org/v1beta/recipe
name: org.openrewrite.java.upgrade.UpdateStaticAnalysisPackage
displayName: update referencing package name for the recipes moved to `rewrite-static-analysis`
description: Some recipes have been moved from `rewrite` to `rewrite-static-analysis`, so any referencing places should update the class package name accordingly.
recipeList:
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.AddSerialVersionUidToSerializable
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.AddSerialVersionUidToSerializable
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.AtomicPrimitiveEqualsUsesGet
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.AtomicPrimitiveEqualsUsesGet
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.AvoidBoxedBooleanExpressions
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.AvoidBoxedBooleanExpressions
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.BigDecimalRoundingConstantsToEnums
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.BigDecimalRoundingConstantsToEnums
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.BooleanChecksNotInverted
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.BooleanChecksNotInverted
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.CaseInsensitiveComparisonsDoNotChangeCase
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.CaseInsensitiveComparisonsDoNotChangeCase
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.CatchClauseOnlyRethrows
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.CatchClauseOnlyRethrows
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ChainStringBuilderAppendCalls
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ChainStringBuilderAppendCalls
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.CombineSemanticallyEqualCatchBlocks
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.CombineSemanticallyEqualCatchBlocks
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.CompareEnumsWithEqualityOperator
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.CompareEnumsWithEqualityOperator
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ControlFlowIndentation
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ControlFlowIndentation
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.CovariantEquals
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.CovariantEquals
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.DeclarationSiteTypeVariance
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.DeclarationSiteTypeVariance
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.DefaultComesLast
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.DefaultComesLast
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.EmptyBlock
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.EmptyBlock
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.EqualsAvoidsNull
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.EqualsAvoidsNull
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ExplicitCharsetOnStringGetBytes
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ExplicitCharsetOnStringGetBytes
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ExplicitInitialization
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ExplicitInitialization
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ExplicitLambdaArgumentTypes
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ExplicitLambdaArgumentTypes
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ExternalizableHasNoArgsConstructor
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ExternalizableHasNoArgsConstructor
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.FallThrough
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.FallThrough
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.FinalClass
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.FinalClass
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.FinalizeLocalVariables
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.FinalizeLocalVariables
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.FinalizeMethodArguments
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.FinalizeMethodArguments
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.FinalizePrivateFields
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.FinalizePrivateFields
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.FixStringFormatExpressions
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.FixStringFormatExpressions
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ForLoopControlVariablePostfixOperators
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ForLoopControlVariablePostfixOperators
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ForLoopIncrementInUpdate
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ForLoopIncrementInUpdate
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.HiddenField
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.HiddenField
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.HideUtilityClassConstructor
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.HideUtilityClassConstructor
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.IndexOfChecksShouldUseAStartPosition
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.IndexOfChecksShouldUseAStartPosition
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.IndexOfReplaceableByContains
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.IndexOfReplaceableByContains
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.IndexOfShouldNotCompareGreaterThanZero
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.IndexOfShouldNotCompareGreaterThanZero
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.InlineVariable
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.InlineVariable
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.InstanceOfPatternMatch
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.InstanceOfPatternMatch
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.IsEmptyCallOnCollections
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.IsEmptyCallOnCollections
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.LambdaBlockToExpression
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.LambdaBlockToExpression
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.LowercasePackage
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.LowercasePackage
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.MethodNameCasing
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.MethodNameCasing
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.MinimumSwitchCases
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.MinimumSwitchCases
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.MissingOverrideAnnotation
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.MissingOverrideAnnotation
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ModifierOrder
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ModifierOrder
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.MultipleVariableDeclarations
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.MultipleVariableDeclarations
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NeedBraces
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NeedBraces
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NestedEnumsAreNotStatic
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NestedEnumsAreNotStatic
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NewStringBuilderBufferWithCharArgument
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NewStringBuilderBufferWithCharArgument
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoDoubleBraceInitialization
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoDoubleBraceInitialization
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoEmptyCollectionWithRawType
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoEmptyCollectionWithRawType
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoEqualityInForCondition
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoEqualityInForCondition
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoFinalizedLocalVariables
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoFinalizedLocalVariables
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoFinalizer
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoFinalizer
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoPrimitiveWrappersForToStringOrCompareTo
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoPrimitiveWrappersForToStringOrCompareTo
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoRedundantJumpStatements
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoRedundantJumpStatements
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoToStringOnStringType
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoToStringOnStringType
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.NoValueOfOnStringType
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.NoValueOfOnStringType
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ObjectFinalizeCallsSuper
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ObjectFinalizeCallsSuper
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.OperatorWrap
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.OperatorWrap
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.PrimitiveWrapperClassConstructorToValueOf
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.PrimitiveWrapperClassConstructorToValueOf
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RedundantFileCreation
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RedundantFileCreation
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReferentialEqualityToObjectEquals
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReferentialEqualityToObjectEquals
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveCallsToObjectFinalize
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveCallsToObjectFinalize
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveCallsToSystemGc
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveCallsToSystemGc
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveEmptyJavaDocParameters
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveEmptyJavaDocParameters
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveInstanceOfPatternMatch
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveInstanceOfPatternMatch
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveJavaDocAuthorTag
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveJavaDocAuthorTag
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveRedundantTypeCast
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveRedundantTypeCast
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveSystemOutPrintln
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveSystemOutPrintln
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveUnneededAssertion
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveUnneededAssertion
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveUnneededBlock
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveUnneededBlock
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveUnusedLocalVariables
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveUnusedLocalVariables
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveUnusedPrivateFields
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveUnusedPrivateFields
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RemoveUnusedPrivateMethods
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RemoveUnusedPrivateMethods
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RenameExceptionInEmptyCatch
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RenameExceptionInEmptyCatch
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RenameLocalVariablesToCamelCase
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RenameLocalVariablesToCamelCase
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RenameMethodsNamedHashcodeEqualOrTostring
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RenameMethodsNamedHashcodeEqualOrTostring
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RenamePrivateFieldsToCamelCase
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RenamePrivateFieldsToCamelCase
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.RenameToCamelCase
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.RenameToCamelCase
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceDeprecatedRuntimeExecMethods
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceDeprecatedRuntimeExecMethods
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceDuplicateStringLiterals
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceDuplicateStringLiterals
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceLambdaWithMethodReference
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceLambdaWithMethodReference
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceOptionalIsPresentWithIfPresent
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceOptionalIsPresentWithIfPresent
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceRedundantFormatWithPrintf
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceRedundantFormatWithPrintf
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceStackWithDeque
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceStackWithDeque
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceStreamToListWithCollect
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceStreamToListWithCollect
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceStringBuilderWithString
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceStringBuilderWithString
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceTextBlockWithString
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceTextBlockWithString
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.ReplaceValidateNotNullHavingVarargsWithObjectsRequireNonNull
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.SimplifyCompoundStatement
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.SimplifyCompoundStatement
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.SimplifyConsecutiveAssignments
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.SimplifyConsecutiveAssignments
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.SimplifyConstantIfBranchExecution
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.SimplifyConstantIfBranchExecution
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.SimplifyDurationCreationUnits
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.SimplifyDurationCreationUnits
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.StaticMethodNotFinal
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.StaticMethodNotFinal
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.StringLiteralEquality
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.StringLiteralEquality
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.TypecastParenPad
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.TypecastParenPad
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UnnecessaryCatch
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UnnecessaryCatch
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UnnecessaryCloseInTryWithResources
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UnnecessaryCloseInTryWithResources
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UnnecessaryExplicitTypeArguments
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UnnecessaryExplicitTypeArguments
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UnnecessaryPrimitiveAnnotations
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UnnecessaryPrimitiveAnnotations
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UnnecessaryThrows
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UnnecessaryThrows
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UnwrapRepeatableAnnotations
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UnwrapRepeatableAnnotations
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UpperCaseLiteralSuffixes
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UpperCaseLiteralSuffixes
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseAsBuilder
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseAsBuilder
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseCollectionInterfaces
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseCollectionInterfaces
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseDiamondOperator
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseDiamondOperator
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseForEachRemoveInsteadOfSetRemoveAll
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseForEachRemoveInsteadOfSetRemoveAll
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseJavaStyleArrayDeclarations
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseJavaStyleArrayDeclarations
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseLambdaForFunctionalInterface
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseLambdaForFunctionalInterface
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseObjectNotifyAll
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseObjectNotifyAll
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseStandardCharset
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseStandardCharset
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseStringReplace
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseStringReplace
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.UseSystemLineSeparator
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.UseSystemLineSeparator
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.WhileInsteadOfFor
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.WhileInsteadOfFor
- org.openrewrite.java.recipes.UpdateMovedRecipe:
oldRecipeFullyQualifiedClassName: org.openrewrite.java.cleanup.WriteOctalValuesAsDecimal
newRecipeFullyQualifiedClassName: org.openrewrite.staticanalysis.WriteOctalValuesAsDecimal
{% endtab %} {% endtabs %}
The community edition of the Moderne platform enables you to easily run recipes across thousands of open-source repositories.
Please contact Moderne for more information about safely running the recipes on your own codebase in a private SaaS.