Package org.openrewrite.java
Class RecipeExceptionDemonstration
java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.RecipeExceptionDemonstration
- All Implemented Interfaces:
Cloneable
public class RecipeExceptionDemonstration
extends org.openrewrite.Recipe
-
Field Summary
Fields inherited from class org.openrewrite.Recipe
contributors, examples, NOOP, PANIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> protected @Nullable org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> protected org.openrewrite.TreeVisitor<J,org.openrewrite.ExecutionContext> protected List<org.openrewrite.SourceFile>Methods inherited from class org.openrewrite.Recipe
addApplicableTest, addApplicableTest, addDataTable, addSingleSourceApplicableTest, addSingleSourceApplicableTest, causesAnotherCycle, clone, createRecipeDescriptor, doNext, equals, getApplicableTests, getContributors, getDataTableDescriptors, getDescriptor, getEstimatedEffortPerOccurrence, getExamples, getJacksonPolymorphicTypeTag, getLanguages, getMaintainers, getName, getRecipeList, getSingleSourceApplicableTests, getTags, hashCode, noop, run, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll
-
Constructor Details
-
RecipeExceptionDemonstration
public RecipeExceptionDemonstration()
-
-
Method Details
-
getApplicableTest
@Nullable protected @Nullable org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getApplicableTest()- Overrides:
getApplicableTestin classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
@Nullable protected @Nullable org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()- Overrides:
getSingleSourceApplicableTestin classorg.openrewrite.Recipe
-
getDisplayName
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getDescription
- Overrides:
getDescriptionin 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
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-