void (@NotNull DomElementAnnotationHolder holder, @NotNull ActionOrGroup actionOrGroup) { String id = actionOrGroup.getId().getStringValue(); if (id == null) return; String text = actionOrGroup.getText().getStringValue(); String desc = actionOrGroup.getDescription().getStringValue(); if (text == null && desc == null) return; if (isInternal(actionOrGroup, "internal")) return; PropertiesFile propertiesFile = DescriptorI18nUtil.findBundlePropertiesFile(actionOrGroup); holder.createProblem(actionOrGroup, ProblemHighlightType.GENERIC_ERROR_OR_WARNING, DevKitI18nBundle.message("inspections.plugin.xml.i18n.name"), null, new ActionOrGroupQuickFixAction(propertiesFile != null ? propertiesFile.getVirtualFile() : null, actionOrGroup instanceof Action)); }