docs: protected ActivityBehavior determineBehaviour(ActivityBehavior delegateInstance) {
      if (hasMultiInstanceCharacteristics()) {
        multiInstanceActivityBehavior.setInnerActivityBehavior((AbstractBpmnActivityBehavior) delegateInstance);
        return multiInstanceActivityBehavior;
      }
      return delegateInstance;
    }