Package org.openrewrite.test
Class AdHocRecipe
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.test.AdHocRecipe
- All Implemented Interfaces:
Cloneable
public class AdHocRecipe
extends org.openrewrite.Recipe
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openrewrite.Recipe
addApplicableTest, addDataTable, addSingleSourceApplicableTest, clone, doNext, equals, getApplicableTest, getApplicableTests, getDataTableDescriptors, getDescription, getDescriptor, getEstimatedEffortPerOccurrence, getJacksonPolymorphicTypeTag, getLanguages, getRecipeList, getSingleSourceApplicableTest, getSingleSourceApplicableTests, getTags, hashCode, noop, run, run, run, run, validate, validate, validateAll, validateAll
-
Constructor Details
-
AdHocRecipe
public AdHocRecipe()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getName
- Overrides:
getNamein classorg.openrewrite.Recipe
-
causesAnotherCycle
public boolean causesAnotherCycle()- Overrides:
causesAnotherCyclein classorg.openrewrite.Recipe
-
visit
protected List<org.openrewrite.SourceFile> visit(List<org.openrewrite.SourceFile> before, org.openrewrite.ExecutionContext ctx) - Overrides:
visitin classorg.openrewrite.Recipe
-
getVisitor
public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()- Overrides:
getVisitorin classorg.openrewrite.Recipe
-