@Override
    public boolean isValid() {
      PsiFileStub<?> fileStub = myStub.getContainingFileStub();
      if (fileStub == null) return false;
      PsiFile psi = fileStub.getPsi();
      return psi != null && psi.isValid();
    }
@Override
    public boolean isValid()