void (DomElement element, DomElementAnnotationHolder holder) { holder.createProblem(element, ProblemHighlightType.LIKE_DEPRECATED, DevKitBundle.message("inspections.plugin.xml.usage.of.obsolete.api", ApiStatus.Obsolete.class.getCanonicalName()), null) .highlightWholeElement(); }