@Override
    public @NotNull PsiFile getContainingFile() {
      PsiFileStub<?> stub = myStub.getContainingFileStub();
      if (stub == null) {
        throw new PsiInvalidElementAccessException(myStub.getPsi(),
                                                   "stub hierarchy is invalid: " + this + " (" + getClass() + ")" +
                                                   " has null containing file stub", null);
      }
      PsiFile psi = stub.getPsi();
      if (psi != null) {
        return psi;
      }
      return reportFileInvalidError(stub);
    }
@Override
    public @NotNull PsiFile getContainingFile()