I'm building a tool for making modifications against Groovy/Gradle files. I've successfully built an AST using AstBuilder, but I'm not sure how to generate Groovy code from the modified AST I have.
I found the AstNodeToScriptAdapter.groovy which seems like what I'm after but it seems specialized and I'm wondering how accurate it is. Is there any other class I'm missing for serializing an AST back to source? Thanks, Max