void (@NotNull XmlAttribute attribute) { if (checkDeprecated(attribute.getDescriptor(), pattern)) { holder.registerProblem(attribute.getNameElement(), XmlAnalysisBundle.message( "xml.inspections.the.attribute.is.marked.as.deprecated"), ProblemHighlightType.LIKE_DEPRECATED); } }