void (@NotNull YAMLKeyValue keyValue) { if (keyValue.getKey() == null) { return; } YamlMetaTypeProvider.MetaTypeProxy meta = myMetaTypeProvider.getKeyValueMetaType(keyValue); if (meta != null && !meta.getField().isEditable()) { String msg = YAMLBundle.message("YamlNonEditableKeysInspectionBase.noneditable.key", keyValue.getKeyText()); myProblemsHolder.registerProblem(keyValue.getKey(), msg, ProblemHighlightType.LIKE_UNUSED_SYMBOL, myQuickFix); } }