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>
-
public class RemoveUnusedVisitor<P> extends YamlIsoVisitor<P>
-
-
Constructor Summary
Constructors Constructor Description RemoveUnusedVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Yaml.MappingvisitMapping(Yaml.Mapping mapping, P p)Yaml.SequencevisitSequence(Yaml.Sequence sequence, P p)-
Methods inherited from class org.openrewrite.yaml.YamlIsoVisitor
visitDocument, visitDocuments, visitMappingEntry, visitScalar, visitSequenceEntry
-
Methods inherited from class org.openrewrite.yaml.YamlVisitor
getLanguage, maybeCoalesceProperties, removeUnused
-
-
-
-
Method Detail
-
visitSequence
public Yaml.Sequence visitSequence(Yaml.Sequence sequence, P p)
- Overrides:
visitSequencein classYamlIsoVisitor<P>
-
visitMapping
public Yaml.Mapping visitMapping(Yaml.Mapping mapping, P p)
- Overrides:
visitMappingin classYamlIsoVisitor<P>
-
-