/**
* Collect data about interesting methods in one compilation unit.
*/
public void collect(final CompilationUnitDeclaration cud, String sourceMapPath) {
cud.traverse(new SafeASTVisitor() {
@Override
public void endVisit(TypeDeclaration type, ClassScope scope) {
collectMethods(type);
}