Class PlanJavaMigration
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<JavaVersionMigrationPlan.Row.Builder>
org.openrewrite.java.migrate.search.PlanJavaMigration
- All Implemented Interfaces:
Cloneable
public class PlanJavaMigration
extends org.openrewrite.ScanningRecipe<JavaVersionMigrationPlan.Row.Builder>
-
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 TypeMethodDescriptionCollection<? extends org.openrewrite.SourceFile>generate(JavaVersionMigrationPlan.Row.Builder acc, org.openrewrite.ExecutionContext ctx) getInitialValue(org.openrewrite.ExecutionContext ctx) org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> Methods inherited from class org.openrewrite.ScanningRecipe
generate, getAccumulator, getVisitor, getVisitorMethods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, causesAnotherCycle, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
PlanJavaMigration
public PlanJavaMigration()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getInitialValue
- Specified by:
getInitialValuein classorg.openrewrite.ScanningRecipe<JavaVersionMigrationPlan.Row.Builder>
-
getScanner
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getScanner(JavaVersionMigrationPlan.Row.Builder acc) - Specified by:
getScannerin classorg.openrewrite.ScanningRecipe<JavaVersionMigrationPlan.Row.Builder>
-
generate
public Collection<? extends org.openrewrite.SourceFile> generate(JavaVersionMigrationPlan.Row.Builder acc, org.openrewrite.ExecutionContext ctx) - Overrides:
generatein classorg.openrewrite.ScanningRecipe<JavaVersionMigrationPlan.Row.Builder>
-