void (@NotNull Annotator annotator, @NotNull Annotation annotation) { DaemonCodeAnalyzer.DaemonListener.AnnotatorStatistics stat = myAnnotatorStats.computeIfAbsent(annotator, __ -> new DaemonCodeAnalyzer.DaemonListener.AnnotatorStatistics(annotator)); if (stat.firstAnnotation == null) { // ignore race condition - it's for statistics only stat.firstAnnotation = annotation; stat.firstAnnotationStamp = System.nanoTime(); } stat.lastAnnotation = annotation; stat.lastAnnotationStamp = System.nanoTime(); }