void ( boolean isEnabled, @Nullable AnActionButtonRunnable anActionButtonRunnable, @Nullable AnActionButtonUpdater updater, CommonActionsPanel.Buttons button ) { if (isEnabled && anActionButtonRunnable != null && updater != null) { final var anActionButton = myActionsPanel.getAnActionButton(button); if (anActionButton != null) { anActionButton.addCustomUpdater(updater); } } }