synchronized private void add(@NotNull MyCompileStatusNotification notification) {
      assert !myCollectingStopped;
      if (!myNotifications.add(notification)) {
        LOG.error("Do not use the same callback for different JPS invocations");
      }
    }
synchronized private void add(@NotNull MyCompileStatusNotification notification)