Class AddMockitoJupiterDependency

java.lang.Object
org.openrewrite.Recipe
org.openrewrite.ScanningRecipe<org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator>
org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency
All Implemented Interfaces:
Cloneable

public class AddMockitoJupiterDependency extends org.openrewrite.ScanningRecipe<org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator>
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.openrewrite.Recipe

    org.openrewrite.Recipe.Builder, org.openrewrite.Recipe.DelegatingRecipe
  • Field Summary

    Fields inherited from class org.openrewrite.Recipe

    contributors, examples, PANIC
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator
    getInitialValue(org.openrewrite.ExecutionContext ctx)
     
    org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>
    getScanner(org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator acc)
     
    org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext>
    getVisitor(org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator acc)
     

    Methods inherited from class org.openrewrite.ScanningRecipe

    clone, generate, generate, getAccumulator, getVisitor

    Methods inherited from class org.openrewrite.Recipe

    addDataTable, builder, buildRecipeList, causesAnotherCycle, createRecipeDescriptor, equals, getContributors, getDataTableDescriptors, getDescription, getDescriptor, getDisplayName, getEstimatedEffortPerOccurrence, getExamples, getInstanceName, getInstanceNameSuffix, getJacksonPolymorphicTypeTag, getMaintainers, getName, getRecipeList, getTags, hashCode, maxCycles, noop, onComplete, run, run, run, setContributors, setExamples, validate, validate, validateAll, validateAll, withOptions

    Methods inherited from class java.lang.Object

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

    • AddMockitoJupiterDependency

      public AddMockitoJupiterDependency()
  • Method Details

    • getInitialValue

      public org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator getInitialValue(org.openrewrite.ExecutionContext ctx)
      Specified by:
      getInitialValue in class org.openrewrite.ScanningRecipe<org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator>
    • getScanner

      public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getScanner(org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator acc)
      Specified by:
      getScanner in class org.openrewrite.ScanningRecipe<org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator>
    • getVisitor

      public org.openrewrite.TreeVisitor<?,org.openrewrite.ExecutionContext> getVisitor(org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator acc)
      Overrides:
      getVisitor in class org.openrewrite.ScanningRecipe<org.openrewrite.java.testing.mockito.AddMockitoJupiterDependency.Accumulator>