Package org.openrewrite.test
Class AdHocScanningRecipe
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<Void>
org.openrewrite.test.AdHocScanningRecipe
- All Implemented Interfaces:
Cloneable
-
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 TypeMethodDescriptionbooleanCollection<? extends org.openrewrite.SourceFile> @Nullable VoidgetInitialValue(org.openrewrite.ExecutionContext ctx) List<org.openrewrite.Maintainer> getName()org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> getScanner(Void acc) org.openrewrite.TreeVisitor<?, org.openrewrite.ExecutionContext> getVisitor(Void acc) intMethods inherited from class org.openrewrite.ScanningRecipe
generate, getAccumulator, getVisitorMethods inherited from class org.openrewrite.Recipe
addDataTable, builder, buildRecipeList, clone, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getRecipeList, getTags, hashCode, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
AdHocScanningRecipe
public AdHocScanningRecipe()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Specified by:
getDescriptionin classorg.openrewrite.Recipe
-
getName
- Overrides:
getNamein classorg.openrewrite.Recipe
-
causesAnotherCycle
public boolean causesAnotherCycle()- Overrides:
causesAnotherCyclein classorg.openrewrite.Recipe
-
maxCycles
public int maxCycles()- Overrides:
maxCyclesin classorg.openrewrite.Recipe
-
getMaintainers
- Overrides:
getMaintainersin classorg.openrewrite.Recipe
-
getInitialValue
- Specified by:
getInitialValuein classorg.openrewrite.ScanningRecipe<Void>
-
getScanner
- Specified by:
getScannerin classorg.openrewrite.ScanningRecipe<Void>
-
generate
public Collection<? extends org.openrewrite.SourceFile> generate(Void acc, org.openrewrite.ExecutionContext ctx) - Overrides:
generatein classorg.openrewrite.ScanningRecipe<Void>
-
getVisitor
- Overrides:
getVisitorin classorg.openrewrite.ScanningRecipe<Void>
-