private void processFile(@Nullable VcsRevisionNumber number, @NotNull VirtualFile vf) {
    final Collection<FileAnnotation> annotations;
    synchronized (myLock) {
      annotations = ContainerUtil.filter(myFileAnnotations, it -> vf.equals(it.getFile()));
    }
    if (!annotations.isEmpty()) {
      if (number == null) {
        number = fromDiffProvider(vf);
      }
      if (number == null) return;

      VcsRevisionNumber finalNumber = number;
      List<FileAnnotation> copy = ContainerUtil.filter(annotations, it -> it.isBaseRevisionChanged(finalNumber));
      invalidateAnnotations(copy, false);
    }
  }
private void processFile(@Nullable VcsRevisionNumber number, @NotNull VirtualFile vf)