Class ApplyCodemod

java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<NodeBasedRecipe.Accumulator>
org.openrewrite.codemods.NodeBasedRecipe
org.openrewrite.codemods.ApplyCodemod
All Implemented Interfaces:
Cloneable

public class ApplyCodemod extends NodeBasedRecipe
  • Constructor Details

    • ApplyCodemod

      public ApplyCodemod()
  • Method Details

    • getDisplayName

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

      public String getDescription()
      Specified by:
      getDescription in class org.openrewrite.Recipe
    • getNpmCommand

      protected List<String> getNpmCommand(NodeBasedRecipe.Accumulator acc, org.openrewrite.ExecutionContext ctx)
      Specified by:
      getNpmCommand in class NodeBasedRecipe