@Override
  public void invalidateAnnotationsFor(@NotNull VirtualFile file, @Nullable VcsKey vcsKey) {
    synchronized (myLock) {
      Collection<FileAnnotation> copy = ContainerUtil.filter(myFileAnnotations, it ->
        file.equals(it.getFile()) && (vcsKey == null || vcsKey.equals(it.getVcsKey())));
      invalidateAnnotations(copy, false);
    }
  }
@Override
  public void invalidateAnnotationsFor(@NotNull VirtualFile file, @Nullable VcsKey vcsKey)