@ApiStatus.Internal
  public void setShortcutSet(@NotNull ShortcutSet shortcutSet) {
    if (myShortcutSet != shortcutSet &&
        myShortcutSet != CustomShortcutSet.EMPTY &&
        LoadingState.PROJECT_OPENED.isOccurred()) {
      ActionManager actionManager = ApplicationManager.getApplication().getServiceIfCreated(ActionManager.class);
      if (actionManager != null && actionManager.getId(this) != null) {
        LOG.warn(PluginException.createByClass(
          "ShortcutSet of global AnActions should not be changed outside of KeymapManager.\n" +
          "This is likely not what you wanted to do. Consider setting shortcut in keymap defaults, inheriting from other action " +
          "using `use-shortcut-of` or wrapping with EmptyAction.wrap(). Action: " + this,
          null,
          getClass())
        );
      }
    }
    myShortcutSet = shortcutSet;
  }
@ApiStatus.Internal
  public void setShortcutSet(@NotNull ShortcutSet shortcutSet)