void (DomElementAnnotationHolder holder, DomElement domElement, String value, Nls.Capitalization capitalization, @Nullable Property property) { if (StringUtil.isEmptyOrSpaces(value)) return; @NlsSafe final String escapedValue = XmlUtil.unescape(value).replace("_", ""); if (NlsCapitalizationUtil.isCapitalizationSatisfied(escapedValue, capitalization)) { return; } LocalQuickFix quickFix = property != null ? new FixPropertyCapitalizationFix(property, escapedValue, capitalization) : new FixDomValueCapitalizationFix(escapedValue, capitalization); holder.createProblem(domElement, DevKitI18nBundle.message("inspections.plugin.xml.capitalization.error", escapedValue, capitalization == Nls.Capitalization.Title ? 0 : 1), quickFix); }