synchronized private void appendJpsBuildResult(boolean aborted, int errors,
                                                   @NotNull CompileContext compileContext,
                                                   @NotNull MyCompileStatusNotification notification) {
      final boolean notificationRemoved = myNotifications.remove(notification);
      if (!notificationRemoved) {
        LOG.error("Multiple invocation of the same callback");
      }
      myErrors += errors;
      if (aborted) myAborted = true;
      MyJpsBuildData jpsBuildData = (MyJpsBuildData)JPS_BUILD_DATA_KEY.get(myContext);
      jpsBuildData.add(compileContext);

      if (notificationRemoved) {
        notifyFinished();
      }
    }
synchronized private void appendJpsBuildResult(boolean aborted, int errors,
                                                   @NotNull CompileContext compileContext,
                                                   @NotNull MyCompileStatusNotification notification)