docs: private void setCommandTarget(BaseComponent component, BaseComponent commandTarget) {
          if (commandTarget == null) {
              commandTarget = (BaseComponent) component.removeAttribute(getTargetAttributeName());
              
              if (commandTarget != null && commandTarget.hasAttribute(ATTR_DUMMY)) {
                  commandTarget.detach();
              }
          } else {
              component.setAttribute(getTargetAttributeName(), commandTarget);
          }
      }