Package org.openrewrite.test
Class TypeValidation
java.lang.Object
org.openrewrite.test.TypeValidation
Controls the test framework's validation of invariants which are expected to hold true in an LST both before and
after the recipe run. Originally this applied only to validating the well-formedness of type metadata in Java LSTs
(hence the name TypeValidation), but has since expanded to include concepts relevant to other types of sources.
"InvariantValidation" would be a more accurate name, but "TypeValidation" is kept for backwards compatibility.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeValidationall()Enable all invariant validation checks.static TypeValidationnone()Skip all invariant validation checks.
-
Constructor Details
-
TypeValidation
public TypeValidation()
-
-
Method Details
-
all
Enable all invariant validation checks. -
none
Skip all invariant validation checks.
-