Class JUnitAssertThrowsToAssertExceptionType
- java.lang.Object
-
- org.openrewrite.Recipe
-
- org.openrewrite.java.testing.assertj.JUnitAssertThrowsToAssertExceptionType
-
public class JUnitAssertThrowsToAssertExceptionType extends org.openrewrite.Recipe
-
-
Constructor Summary
Constructors Constructor Description JUnitAssertThrowsToAssertExceptionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.StringgetDisplayName()java.time.DurationgetEstimatedEffortPerOccurrence()protected org.openrewrite.java.search.UsesMethod<org.openrewrite.ExecutionContext>getSingleSourceApplicableTest()protected org.openrewrite.java.testing.assertj.JUnitAssertThrowsToAssertExceptionType.AssertExceptionTypeVisitorgetVisitor()
-
-
-
Method Detail
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein classorg.openrewrite.Recipe
-
getEstimatedEffortPerOccurrence
public java.time.Duration getEstimatedEffortPerOccurrence()
- Overrides:
getEstimatedEffortPerOccurrencein classorg.openrewrite.Recipe
-
getDescription
public java.lang.String getDescription()
- Overrides:
getDescriptionin classorg.openrewrite.Recipe
-
getSingleSourceApplicableTest
protected org.openrewrite.java.search.UsesMethod<org.openrewrite.ExecutionContext> getSingleSourceApplicableTest()
- Overrides:
getSingleSourceApplicableTestin classorg.openrewrite.Recipe
-
getVisitor
protected org.openrewrite.java.testing.assertj.JUnitAssertThrowsToAssertExceptionType.AssertExceptionTypeVisitor getVisitor()
- Overrides:
getVisitorin classorg.openrewrite.Recipe
-
-