XmlAttribute (PsiClass inspectionClass) { Extension extension = InspectionDescriptionInfo.findExtension(inspectionClass); return extension == null ? null : extension.getXmlTag().getAttribute("shortName"); }