void (@NotNull ProgressIndicator indicator) { try { FileAnnotation fileAnnotation = annotationProvider.annotate(file, fileRevision); int newLine = annotatedLine < 0 ? -1 : translateLine(oldContent, fileAnnotation.getAnnotatedContent(), annotatedLine); fileAnnotationRef.set(fileAnnotation); newLineRef.set(newLine); shouldOpenEditorInSync.set(false); semaphore.release(); } catch (VcsException e) { exceptionRef.set(e); } }