@Override
  protected @Nullable VcsFileRevision getFileRevision(@NotNull AnActionEvent e) {
    assert myProvider != null;

    int lineNumber = ShowAnnotateOperationsPopup.getAnnotationLineNumber(e.getDataContext());
    if (lineNumber == UpToDateLineNumberProvider.ABSENT_LINE_NUMBER) {
      return myProvider.getLastRevision();
    }
    else {
      if (lineNumber < 0 || lineNumber >= myAnnotation.getLineCount()) return null;
      return myProvider.getPreviousRevision(lineNumber);
    }
  }
@Override
  protected @Nullable VcsFileRevision getFileRevision(@NotNull AnActionEvent e)