@Override
  public @NotNull PsiFile getContainingFile() {
    try {
      return mySubstrateRef.getContainingFile();
    }
    catch (PsiInvalidElementAccessException e) {
      if (PsiInvalidElementAccessException.getInvalidationTrace(this) != null) {
        throw new PsiInvalidElementAccessException(this, e);
      }
      throw e;
    }
  }
@Override
  public @NotNull PsiFile getContainingFile()