Package org.openrewrite.yaml
Class ShiftFormatLeft
- java.lang.Object
-
- org.openrewrite.AbstractSourceVisitor<T>
-
- org.openrewrite.AbstractRefactorVisitor<Yaml>
-
- org.openrewrite.yaml.YamlRefactorVisitor
-
- org.openrewrite.yaml.ShiftFormatLeft
-
- All Implemented Interfaces:
org.openrewrite.RefactorVisitor<Yaml>,org.openrewrite.SourceVisitor<Yaml>,YamlSourceVisitor<Yaml>
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
maybeCoalesceProperties, visitDocument, visitDocuments, visitMapping, visitScalar, visitSequence, visitSequenceEntry
-
Methods inherited from class org.openrewrite.AbstractRefactorVisitor
andThen, andThen, next, refactor, refactor, refactor
-
Methods inherited from class org.openrewrite.AbstractSourceVisitor
getCursor, setCursoringOn, visit, visitAfter, visitAfter
-
-
-
-
Constructor Detail
-
ShiftFormatLeft
public ShiftFormatLeft(Yaml scope, int shift)
-
-
Method Detail
-
isIdempotent
public boolean isIdempotent()
-
visitMappingEntry
public Yaml visitMappingEntry(Yaml.Mapping.Entry entry)
- Specified by:
visitMappingEntryin interfaceYamlSourceVisitor<Yaml>- Overrides:
visitMappingEntryin classYamlRefactorVisitor
-
-