docs: @SuppressWarnings("unchecked")
    public void setParent(PvmExecutionImpl parent) {
      PvmExecutionImpl currentParent = getParent();
  
      setParentExecution(parent);
  
      if (currentParent != null) {
        currentParent.getExecutions().remove(this);
      }
  
      if (parent != null) {
        ((List<PvmExecutionImpl>) parent.getExecutions()).add(this);
      }
    }