void (@NotNull PsiFile file, @Nullable Editor editor, double progress) { if (ApplicationManager.getApplication().isCommandLine()) return; ApplicationManager.getApplication().assertIsNonDispatchThread(); if (editor != null && (repaintIconAlarm.isEmpty() || progress >= 1)) { repaintIconAlarm.addRequest(() -> { Project myProject = file.getProject(); if (!myProject.isDisposed() && !editor.isDisposed()) { repaintErrorStripeAndIcon(editor, myProject, file); } }, 50, null); } }