void (@NotNull HighlightInfo fileLevelHighlightInfo) { Project project = getProject(); DaemonCodeAnalyzerEx codeAnalyzer = DaemonCodeAnalyzerEx.getInstanceEx(project); Future<?> future = EdtExecutorService.getInstance().submit(() -> { if (!project.isDisposed() && !isCanceled()) { codeAnalyzer.removeFileLevelHighlight(getPsiFile(), fileLevelHighlightInfo); } }); pendingFileLevelHighlightRequests.add((RunnableFuture<?>)future); }