GroovyRootDoc root = plainTool.getRootDoc();
// loop through classes in tree
GroovyClassDoc[] classDocs = root.classes();
for (int i = 0; i < classDocs.length; i++) {
GroovyClassDoc clazz = root.classes()[i];
assertEquals("GroovyDocToolTest", clazz.name());
// loop through methods in class
boolean seenThisMethod = false;
GroovyMethodDoc[] methodDocs = clazz.methods();