void (@NotNull AnActionEvent e, boolean state) { showToolbar = !state; EditorSettingsExternalizable.getInstance().setShowInspectionWidget(showToolbar); updateTrafficLightVisibility(); ActionsCollector.getInstance().record(e.getProject(), this, e, null); }