void (@NotNull YamlMetaTypeProvider.MetaTypeProxy meta, @NotNull YAMLValue value) { if (meta.getField().hasRelationSpecificType(Field.Relation.SEQUENCE_ITEM)) { return; } if (value instanceof YAMLSequence) { for (YAMLSequenceItem next : ((YAMLSequence)value).getItems()) { if (next.getValue() == null || !next.getKeysValues().isEmpty()) { //not our business ? continue; } myProblemsHolder.registerProblem(next.getValue(), YAMLBundle.message("YamlUnknownValuesInspectionBase.error.array.not.allowed")); } } }