private static void highlightObsolete(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();
  }
private static void highlightObsolete(DomElement element, DomElementAnnotationHolder holder)