Package org.openrewrite.json.format
Class AutoFormatVisitor<P>
java.lang.Object
org.openrewrite.TreeVisitor<Json,P>
org.openrewrite.json.JsonVisitor<P>
org.openrewrite.json.JsonIsoVisitor<P>
org.openrewrite.json.format.AutoFormatVisitor<P>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable Json@Nullable JsonvisitDocument(Json.Document js, P p) Methods inherited from class org.openrewrite.json.JsonIsoVisitor
visitArray, visitEmpty, visitIdentifier, visitLiteral, visitMember, visitObjectMethods inherited from class org.openrewrite.json.JsonVisitor
autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, maybeAutoFormat, maybeAutoFormat, maybeAutoFormat, visitRightPadded, visitSpaceMethods inherited from class org.openrewrite.TreeVisitor
adapt, collect, collect, defaultValue, doAfterVisit, getAfterVisit, getCursor, isAdaptableTo, noop, reduce, reduce, reduce, setCursor, stopAfterPreVisit, updateCursor, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitorTreeType
-
Constructor Details
-
AutoFormatVisitor
public AutoFormatVisitor() -
AutoFormatVisitor
public AutoFormatVisitor(@Nullable org.openrewrite.Tree stopAfter)
-
-
Method Details
-
preVisit
-
visitDocument
- Overrides:
visitDocumentin classJsonIsoVisitor<P>
-
postVisit
-
visit
-