I am using GumTree to parse a Java file into an ITree, which is GumTree's data structure that represents an AST. I then modify the ITree by performing Actions on it, which are GumTree's representation of Inserts, Updates (renames, etc.), Deletes, and Moves. I would like to then unparse the resulting modified ITree. In other words, I am trying to pretty print the AST.
I have looked in the ITree methods (core/src/gumtreediff/tree) and tried toPrettyString, but that just returned the string "15" which is the type of the top AST node of the tree (a compilation unit).
The GumTree wiki on GitHub has no mention of unparsing or pretty printing. A Google search doesn't help because I think GumTree is too obscure.
Wondering if I should "just" write my own unparser.
I am using release 2.0.0 of GumTree.