Package org.openrewrite.yaml.cleanup
Class RemoveUnusedVisitor<P>
java.lang.Object
org.openrewrite.TreeVisitor<Yaml,P>
org.openrewrite.yaml.YamlVisitor<P>
org.openrewrite.yaml.YamlIsoVisitor<P>
org.openrewrite.yaml.cleanup.RemoveUnusedVisitor<P>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvisitMapping(Yaml.Mapping mapping, P p) visitSequence(Yaml.Sequence sequence, P p) Methods inherited from class org.openrewrite.yaml.YamlIsoVisitor
visitDocument, visitDocumentEnd, visitDocuments, visitMappingEntry, visitScalar, visitSequenceEntryMethods inherited from class org.openrewrite.yaml.YamlVisitor
autoFormat, autoFormat, autoFormat, getLanguage, isAcceptable, maybeAutoFormat, maybeAutoFormat, maybeAutoFormat, maybeCoalesceProperties, removeUnused, visitAlias, visitAnchorMethods inherited from class org.openrewrite.TreeVisitor
adapt, collect, collect, defaultValue, doAfterVisit, getAfterVisit, getCursor, isAdaptableTo, noop, postVisit, preVisit, reduce, reduce, reduce, setCursor, stopAfterPreVisit, updateCursor, visit, visit, visit, visitAndCast, visitAndCast, visitMarker, visitMarkers, visitNonNull, visitNonNull, visitorTreeType
-
Constructor Details
-
RemoveUnusedVisitor
public RemoveUnusedVisitor(@Nullable org.openrewrite.Cursor cursor)
-
-
Method Details
-
visitSequence
- Overrides:
visitSequencein classYamlIsoVisitor<P>
-
visitMapping
- Overrides:
visitMappingin classYamlIsoVisitor<P>
-