Class CleanupJUnitImports

java.lang.Object
org.openrewrite.Recipe
org.openrewrite.java.testing.junit5.CleanupJUnitImports

public class CleanupJUnitImports extends org.openrewrite.Recipe
  • Constructor Details

    • CleanupJUnitImports

      public CleanupJUnitImports()
  • Method Details

    • getDisplayName

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

      public String getDescription()
      Overrides:
      getDescription in class org.openrewrite.Recipe
    • getEstimatedEffortPerOccurrence

      public Duration getEstimatedEffortPerOccurrence()
      Overrides:
      getEstimatedEffortPerOccurrence in class org.openrewrite.Recipe
    • getVisitor

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

      @Nullable protected @Nullable org.openrewrite.java.JavaVisitor<org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
      Overrides:
      getSingleSourceApplicableTest in class org.openrewrite.Recipe