Package org.openrewrite.yaml.marker
Class OmitColon
java.lang.Object
org.openrewrite.yaml.marker.OmitColon
- All Implemented Interfaces:
org.openrewrite.marker.Marker,org.openrewrite.rpc.RpcCodec<OmitColon>
public class OmitColon
extends Object
implements org.openrewrite.marker.Marker, org.openrewrite.rpc.RpcCodec<OmitColon>
Marker indicating that a mapping entry should be printed without a colon.
This is used for flow mappings like { "key", "key2" } where entries lack explicit colons.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrpcReceive(OmitColon before, org.openrewrite.rpc.RpcReceiveQueue q) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.marker.Marker
getId, print, withId