Package org.openrewrite.yaml
Class ShiftFormatLeft
- java.lang.Object
-
- org.openrewrite.SourceVisitor<R>
-
- org.openrewrite.yaml.YamlSourceVisitor<Yaml>
-
- org.openrewrite.yaml.YamlRefactorVisitor
-
- org.openrewrite.yaml.ShiftFormatLeft
-
- All Implemented Interfaces:
org.openrewrite.RefactorVisitorSupport
public class ShiftFormatLeft extends YamlRefactorVisitor
-
-
Field Summary
-
Fields inherited from class org.openrewrite.yaml.YamlRefactorVisitor
formatter
-
-
Constructor Summary
Constructors Constructor Description ShiftFormatLeft(Yaml scope, int shift)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisIdempotent()YamlvisitMappingEntry(Yaml.Mapping.Entry entry)-
Methods inherited from class org.openrewrite.yaml.YamlRefactorVisitor
defaultTo, maybeCoalesceProperties, visitDocument, visitDocuments, visitMapping, visitSequence, visitSequenceEntry
-
Methods inherited from class org.openrewrite.yaml.YamlSourceVisitor
visitScalar
-
Methods inherited from class org.openrewrite.SourceVisitor
andThen, andThen, getCursor, getName, getTags, nextCycle, reduce, setCursoringOn, validate, visit, visit, visitAfter, visitAfter, visitTree
-
-
-
-
Constructor Detail
-
ShiftFormatLeft
public ShiftFormatLeft(Yaml scope, int shift)
-
-
Method Detail
-
isIdempotent
public boolean isIdempotent()
- Overrides:
isIdempotentin classorg.openrewrite.SourceVisitor<Yaml>
-
visitMappingEntry
public Yaml visitMappingEntry(Yaml.Mapping.Entry entry)
- Overrides:
visitMappingEntryin classYamlRefactorVisitor
-
-