void (@NotNull LightweightWindowEvent event) { // rerun code-insight after popup close PsiFile file = PsiDocumentManager.getInstance(project).getPsiFile(editor.getDocument()); if (file != null) { DaemonCodeAnalyzer.getInstance(project).restart(file); } }