@Override
  PsiFile restoreFile(@NotNull SmartPointerManagerImpl manager) {
    return myElement.isValid() ? myElement.getContainingFile() : null;
  }
@Override
  PsiFile restoreFile(@NotNull SmartPointerManagerImpl manager)