private static @NotNull AnActionEvent customizeEvent(@NotNull AnActionEvent e,
                                                       @NotNull AnAction wrapper) {
    return wrapper instanceof DataSnapshotProvider o ?
           e.withDataContext(CustomizedDataContext.withSnapshot(e.getDataContext(), o)) : e;
  }
private static @NotNull AnActionEvent customizeEvent(@NotNull AnActionEvent e,
                                                       @NotNull AnAction wrapper)