code: public static void printNodeData(Node rootNode, String tab) {
          
          tab = tab == null ? "" : tab + "  ";
  
          for (Node n : rootNode.getChilds()) {
              printNodeData(n, tab);
          }
      }
docs: Debug method to print tree node structure
  
  @param rootNode
  @param tab