Package org.openrewrite
Class HasSourcePath<P>
-
Constructor Summary
ConstructorsConstructorDescriptionHasSourcePath
(@Nullable String filePattern) HasSourcePath
(String syntax, @Nullable String filePattern) -
Method Summary
Methods inherited from class org.openrewrite.TreeVisitor
adapt, defaultValue, doAfterVisit, doAfterVisit, getAfterVisit, getCursor, getLanguage, isAcceptable, isAdaptableTo, noop, postVisit, preVisit, setCursor, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitSourceFile
-
Constructor Details
-
HasSourcePath
-
HasSourcePath
- Parameters:
syntax
- one of "glob" or "regex".filePattern
- the file pattern.
-
-
Method Details
-
visit
- Overrides:
visit
in classTreeVisitor<Tree,
P>
-