Package org.openrewrite
Class Preconditions.Check
- Direct Known Subclasses:
Preconditions.RecipeCheck
- Enclosing class:
- Preconditions
-
Constructor Summary
ConstructorDescriptionCheck
(TreeVisitor<?, ExecutionContext> check, TreeVisitor<?, ExecutionContext> v) -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAcceptable
(SourceFile sourceFile, ExecutionContext ctx) @Nullable Tree
visit
(@Nullable Tree tree, ExecutionContext ctx) @Nullable Tree
visit
(@Nullable Tree tree, ExecutionContext ctx, Cursor parent) Methods inherited from class org.openrewrite.TreeVisitor
adapt, collect, collect, defaultValue, doAfterVisit, getAfterVisit, getCursor, getLanguage, isAdaptableTo, noop, postVisit, preVisit, reduce, reduce, reduce, setCursor, stopAfterPreVisit, updateCursor, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitorTreeType
-
Constructor Details
-
Check
-
-
Method Details
-
isAcceptable
- Overrides:
isAcceptable
in classTreeVisitor<Tree,
ExecutionContext>
-
visit
- Overrides:
visit
in classTreeVisitor<Tree,
ExecutionContext>
-
visit
- Overrides:
visit
in classTreeVisitor<Tree,
ExecutionContext>
-