void (@NotNull YamlInsertionMarkup markup, @NotNull Field.Relation relation, @NotNull ForcedCompletionPath.Iteration iteration) { switch (relation) { case OBJECT_CONTENTS /* weird, but let's ignore and breakthrough to defaults */, SCALAR_VALUE -> { markup.append(": "); if (iteration.isEndOfPathReached()) { markup.appendCaret(); } } case SEQUENCE_ITEM -> { markup.append(":"); markup.doTabbedBlockForSequenceItem(() -> { if (iteration.isEndOfPathReached()) { markup.appendCaret(); } }); } default -> throw new IllegalStateException("Unknown relation: " + relation); //NON-NLS } }