@Deprecated(forRemoval = true)
  public static AnAction wrap(AnAction action) {
    return action instanceof ActionGroup ?
           new ActionGroupWrapper(((ActionGroup)action)) :
           new MyDelegatingAction(action);
  }
@Deprecated(forRemoval = true)
  public static AnAction wrap(AnAction action)