docs: protected void parseAsynchronousContinuationForActivity(Element activityElement, ActivityImpl activity) {
      // can't use #getMultiInstanceScope here to determine whether the task is multi-instance,
      // since the property hasn't been set yet (cf parseActivity)
      ActivityImpl parentFlowScopeActivity = activity.getParentFlowScopeActivity();
      if (parentFlowScopeActivity != null && parentFlowScopeActivity.getActivityBehavior() instanceof MultiInstanceActivityBehavior
          && !activity.isCompensationHandler()) {
  
        parseAsynchronousContinuation(activityElement, parentFlowScopeActivity);
  
        Element miLoopCharacteristics = activityElement.element("multiInstanceLoopCharacteristics");
        parseAsynchronousContinuation(miLoopCharacteristics, activity);
  
      } else {
        parseAsynchronousContinuation(activityElement, activity);
      }
    }