@Nullable
  public static FileAnnotation.LineModificationDetailsProvider create(@NotNull FileAnnotation annotation) {
    VirtualFile file = annotation.getFile();
    if (file == null) return null;

    FileAnnotation.CurrentFileRevisionProvider currentRevisionProvider = annotation.getCurrentFileRevisionProvider();
    FileAnnotation.PreviousFileRevisionProvider previousRevisionProvider = annotation.getPreviousFileRevisionProvider();
    if (currentRevisionProvider == null || previousRevisionProvider == null) return null;

    FilePath filePath = VcsUtil.getFilePath(file);
    return new DefaultLineModificationDetailsProvider(annotation, filePath, currentRevisionProvider, previousRevisionProvider);
  }
@Nullable
  public static FileAnnotation.LineModificationDetailsProvider create(@NotNull FileAnnotation annotation)