code: public static <T extends MutableTreeNode<T>> void addChild(T parent, T child) {
          checkArgNotNull(parent, "parent");
          parent.addChild(parent.getChildren().size(), child);
      }
docs: Adds a new child node to a given MutableTreeNode parent.
  
  @param parent the parent node
  @param child  the child node to add