I think this plugin is currently the best option for inspecting the AST, so it would be great to mention it here: http://javaparser.org/inspecting-an-ast/