void (@NotNull YAMLSequence sequence) { result.set(ContainerUtil.map(sequence.getItems(), i -> path == null ? new YAMLStructureViewSequenceItemOriginal(i) : new YAMLStructureViewSequenceItemDuplicated(i, path))); }