void (GenericDomValue<String> domValue, int maxLength, DomElementAnnotationHolder holder) { String value = domValue.getStringValue(); if (value != null && value.length() > maxLength) { holder.createProblem(domValue, DevKitBundle.message("inspections.plugin.xml.value.exceeds.max.length", maxLength)); } }