void (@NotNull EditorFactoryEvent event) { Editor editor = event.getEditor(); Project project = editor.getProject(); if (project == null) return; if (CoverageDataManager.getInstance(project).activeSuites().isEmpty()) return; CoverageDataAnnotationsManager manager = project.getServiceIfCreated(CoverageDataAnnotationsManager.class); if (manager == null) return; PsiFile psiFile = ReadAction.compute(() -> PsiDocumentManager.getInstance(project).getPsiFile(editor.getDocument())); if (psiFile == null || !psiFile.isPhysical()) return; manager.callShowLater(editor, psiFile); }