@Override
  @Nullable
  public XmlFile getAntFile() {
    final PsiFile psiFile = myVFile.isValid()? PsiManager.getInstance(getProject()).findFile(myVFile) : null;
    return (psiFile instanceof XmlFile xmlFile) && AntDomFileDescription.isAntFile(xmlFile)? xmlFile : null;
  }
@Override
  @Nullable
  public XmlFile getAntFile()