void (@NotNull YAMLMapping mapping) { result.set(ContainerUtil.map(mapping.getKeyValues(), kv -> path == null ? new YAMLStructureViewKeyValueOriginal(kv) : new YAMLStructureViewKeyValueDuplicated(kv, path))); }