void (@NotNull YAMLSequenceItem item) { YAMLValue value = item.getValue(); if (value == null) { return; } if (value instanceof YAMLKeyValue || value instanceof YAMLMapping) { // will be handled separately return; } YamlMetaTypeProvider.MetaTypeProxy meta = myMetaTypeProvider.getValueMetaType(value); if (meta != null && meta.getField().hasRelationSpecificType(Field.Relation.SEQUENCE_ITEM)) { meta.getMetaType().validateValue(value, myProblemsHolder); } }