Package org.openrewrite.java.migrate
Class UpgradeJavaVersion
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.migrate.UpgradeJavaVersion
- All Implemented Interfaces:
Cloneable
public class UpgradeJavaVersion
extends org.openrewrite.Recipe
-
Nested Class Summary
Nested classes/interfaces inherited from class org.openrewrite.Recipe
org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe -
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis recipe only updates markers, so it does not correspond to human manual effort.List<org.openrewrite.Recipe> org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> Methods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
UpgradeJavaVersion
public UpgradeJavaVersion()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getRecipeList
- Overrides:
getRecipeListin classorg.openrewrite.Recipe
-
getEstimatedEffortPerOccurrence
This recipe only updates markers, so it does not correspond to human manual effort.- Overrides:
getEstimatedEffortPerOccurrencein classorg.openrewrite.Recipe- Returns:
- Zero estimated time.
-
getVisitor
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()- Overrides:
getVisitorin classorg.openrewrite.Recipe
-