public void registerDynamicActionId(@NotNull AnAction action, @NotNull String id) {
    synchronized (myLock) {
      if (isAllowedActionId(id)) {
        myDynamicActionsToId.put(action, id);
      }
    }
  }
public void registerDynamicActionId(@NotNull AnAction action, @NotNull String id)