void () { if (myErrorStripeRenderer == null) return; myTrafficLightIconUpdates.queue(Update.create("traffic light icon", () -> { ErrorStripeRenderer errorStripeRenderer = myErrorStripeRenderer; if (errorStripeRenderer != null) { AnalyzerStatus newStatus = ReadAction.compute(() -> errorStripeRenderer.getStatus()); if (!newStatus.equalsTo(analyzerStatus)) { ApplicationManager.getApplication().invokeLater(() -> changeStatus(newStatus)); } } })); }