WIP: walk works except for the regular expression in getMethodName