Package org.openrewrite.text
Class PlainTextVisitor<P>
- Direct Known Subclasses:
PlainTextPrinter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isAcceptable
(SourceFile sourceFile, P p) boolean
isAdaptableTo
(Class<? extends TreeVisitor> adaptTo) visitSnippet
(PlainText.Snippet snippet, P p) Methods inherited from class org.openrewrite.TreeVisitor
adapt, collect, collect, defaultValue, doAfterVisit, getAfterVisit, getCursor, getLanguage, noop, postVisit, preVisit, reduce, reduce, reduce, setCursor, stopAfterPreVisit, updateCursor, visit, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitorTreeType
-
Constructor Details
-
PlainTextVisitor
public PlainTextVisitor()
-
-
Method Details
-
isAcceptable
- Overrides:
isAcceptable
in classTreeVisitor<Tree,
P>
-
isAdaptableTo
- Overrides:
isAdaptableTo
in classTreeVisitor<Tree,
P>
-
visitText
-
visitSnippet
-