AntDomElement (XmlTag xmlTag) { final DomElement domElement = DomManager.getDomManager(xmlTag.getProject()).getDomElement(xmlTag); return domElement instanceof AntDomElement? (AntDomElement)domElement : null; }