@NotNull
  private static ReportingEvaluationCallback wrapToReportingCallback(final XEvaluationCallback callback, final Project project) {
    if (callback instanceof XEvaluationCallbackWithOrigin callbackWithOrigin) {
      return new ReportingEvaluationCallback(project, callback, callbackWithOrigin.getOrigin());
    }
    return new ReportingEvaluationCallback(project, callback, XEvaluationOrigin.UNSPECIFIED);
  }
@NotNull
  private static ReportingEvaluationCallback wrapToReportingCallback(final XEvaluationCallback callback, final Project project)