void (@NotNull YAMLValue value, @NotNull ProblemsHolder problemsHolder) { if(!(value instanceof YAMLSequence)) problemsHolder.registerProblem(value, YAMLBundle.message("YamlUnknownValuesInspectionBase.error.array.is.required")); }