Class FindQuarks

java.lang.Object
org.openrewrite.Recipe
org.openrewrite.FindQuarks
All Implemented Interfaces:
Cloneable

public class FindQuarks extends Recipe
  • Constructor Details

    • FindQuarks

      public FindQuarks()
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Description copied from class: Recipe
      A human-readable display name for the recipe, initial capped with no period. For example, "Find text". The display name can be assumed to be rendered in documentation and other places where markdown is understood, so it is possible to use stylistic markers like backticks to indicate types. For example, "Find uses of `java.util.List`".
      Specified by:
      getDisplayName in class Recipe
      Returns:
      The display name.
    • getDescription

      public String getDescription()
      Description copied from class: Recipe
      A human-readable description for the recipe, consisting of one or more full sentences ending with a period.

      "Find methods by pattern." is an example. The description can be assumed to be rendered in documentation and other places where markdown is understood, so it is possible to use stylistic markers like backticks to indicate types. For example, "Find uses of `java.util.List`.".

      Specified by:
      getDescription in class Recipe
      Returns:
      The display name.
    • getVisitor

      public TreeVisitor<?,ExecutionContext> getVisitor()
      Description copied from class: Recipe
      A recipe can optionally encapsulate a visitor that performs operations on a set of source files. Subclasses of the recipe may override this method to provide an instance of a visitor that will be used when the recipe is executed.
      Overrides:
      getVisitor in class Recipe
      Returns:
      A tree visitor that will perform operations associated with the recipe.