static SS functionsToComments() { new SS map; S src = myJavaSource(); for (L tok : tok_findMainFunctions(src)) { S comments = trim(get(tok, 0)); if (nempty(comments)) { S name = tok_functionName(tok); map.put(name, comments); } } ret map; }