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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>
     
    protected List<org.openrewrite.SourceFile>
    visit(List<org.openrewrite.SourceFile> before, org.openrewrite.ExecutionContext ctx)
     

    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

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AdHocRecipe

      public AdHocRecipe()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in class org.openrewrite.Recipe
    • getName

      public String getName()
      Overrides:
      getName in class org.openrewrite.Recipe
    • causesAnotherCycle

      public boolean causesAnotherCycle()
      Overrides:
      causesAnotherCycle in class org.openrewrite.Recipe
    • visit

      protected List<org.openrewrite.SourceFile> visit(List<org.openrewrite.SourceFile> before, org.openrewrite.ExecutionContext ctx)
      Overrides:
      visit in class org.openrewrite.Recipe
    • getVisitor

      public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor()
      Overrides:
      getVisitor in class org.openrewrite.Recipe