void (@NotNull AnActionEvent e) { Presentation presentation = e.getPresentation(); 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); } }