private static void doWithReportHandler(Predicate<? super UndoReportHandler> condition) {
    for (var handler : UndoReportHandler.EP_NAME.getExtensionList()) {
      if (condition.test(handler)) {
        return;
      }
    }
  }
private static void doWithReportHandler(Predicate<? super UndoReportHandler> condition)