void (@NotNull AnalyzerStatus newStatus) { ThreadingAssertions.assertEventDispatchThread(); if (!isErrorStripeVisible() || resourcesDisposable.isDisposed()) { return; } statusTimer.cancelAllRequests(); AnalyzingType analyzingType = newStatus.getAnalyzingType(); boolean resetAnalyzingStatus = analyzerStatus.isTextStatus() && analyzerStatus.getAnalyzingType() == AnalyzingType.COMPLETE; analyzerStatus = newStatus; smallIconLabel.setIcon(analyzerStatus.getIcon()); if (showToolbar != analyzerStatus.getController().isToolbarEnabled()) { showToolbar = EditorSettingsExternalizable.getInstance().isShowInspectionWidget() && analyzerStatus.getController().isToolbarEnabled(); updateTrafficLightVisibility(); } boolean analyzing = analyzingType != AnalyzingType.COMPLETE; hasAnalyzed = !resetAnalyzingStatus && (hasAnalyzed || (isAnalyzing && !analyzing)); isAnalyzing = analyzing; if (analyzingType != AnalyzingType.EMPTY) { showNavigation = analyzerStatus.getShowNavigation(); } else { statusTimer.addRequest(() -> { hasAnalyzed = false; ActivityTracker.getInstance().inc(); }, QUICK_ANALYSIS_TIMEOUT_MS); } myTrafficLightPopup.updateVisiblePopup(analyzerStatus); ActivityTracker.getInstance().inc(); }