public AntDomNamedElement getDeclaringElement(XmlName customElementName) {
    return myDeclarations.get(customElementName);
  }
public AntDomNamedElement getDeclaringElement(XmlName customElementName)