void (@NotNull YamlInsertionMarkup markup, @NotNull Field.Relation relation, @NotNull ForcedCompletionPath.Iteration iteration) { switch (relation) { case SCALAR_VALUE -> throw new IllegalArgumentException("Default relation " + relation + " requested for complex type: " + this); case OBJECT_CONTENTS -> doBuildInsertionSuffixMarkup(markup, false, iteration); case SEQUENCE_ITEM -> doBuildInsertionSuffixMarkup(markup, true, iteration); default -> throw new IllegalArgumentException("Unknown relation: " + relation); } }