@Override
    public void update(@NotNull AnActionEvent e) {
      Presentation presentation = e.getPresentation();

      if(RedesignedInspectionsManager.isAvailable()) {
        presentation.setEnabledAndVisible(false);
        return;
      }

      List<StatusItem> newStatus = analyzerStatus.getExpandedStatus();
      Icon newIcon = analyzerStatus.getIcon();

      presentation.setVisible(!analyzerStatus.isEmpty());

      if (!hasAnalyzed || analyzerStatus.getAnalyzingType() != AnalyzingType.EMPTY) {
        List<StatusItem> adjusted = newStatus.isEmpty() ? Collections.singletonList(new StatusItem("", newIcon)) : newStatus;
        presentation.putClientProperty(EXPANDED_STATUS, adjusted);

        presentation.putClientProperty(TRANSLUCENT_STATE, analyzerStatus.getAnalyzingType() != AnalyzingType.COMPLETE);
      }
      else {
        presentation.putClientProperty(TRANSLUCENT_STATE, true);
      }
    }
@Override
    public void update(@NotNull AnActionEvent e)