void (@NotNull YAMLKeyValue keyValue) { final YamlMetaTypeProvider.MetaTypeProxy meta = myMetaTypeProvider.getKeyValueMetaType(keyValue); if (meta != null && !meta.getField().isEditable()) { if (keyValue.getParentMapping() != null) { keysToDelete.add(keyValue); } else { Logger.getInstance(YamlNonEditableKeysInspectionBase.class) .warn("Wanted to remove KV, but it does not have a parent mapping"); } return; } super.visitKeyValue(keyValue); }