void (@NotNull JComponent component, @Nullable ActionGroup group) { if (!SystemInfoRt.isMac || !LoadingState.COMPONENTS_REGISTERED.isOccurred() || ApplicationManager.getApplication() == null) { return; } component.putClientProperty(ACTION_GROUP_KEY, group); }