public static @NotNull ActionUpdateThread getActionUpdateThread(@NotNull AnAction wrapper,
                                                                  @NotNull AnAction delegate) {
    if (wrapper instanceof DataSnapshotProvider) return delegate.getActionUpdateThread();
    return ActionUpdateThread.BGT;
  }
public static @NotNull ActionUpdateThread getActionUpdateThread(@NotNull AnAction wrapper,
                                                                  @NotNull AnAction delegate)