@Override
 @NotNull
 public XmlFile getContainingFile(@NotNull DomElement domElement) {
   if (domElement instanceof DomFileElement) {
     return ((DomFileElement) domElement).getFile();
   }
   return DomManagerImpl.getNotNullHandler(domElement).getFile();
 }
 @Override
 @NotNull
 public EvaluatedXmlName getEvaluatedXmlName(@NotNull final DomElement element) {
   return DomManagerImpl.getNotNullHandler(element).getXmlName();
 }