}
public static List<Comment> extractComments(JavaCompilation sCompilationUnit) {
CommentCollector collector =
new CommentCollector(sCompilationUnit.getCompilationUnit(), sCompilationUnit.getSource());
collector.collect();
return collector.getComments();
}
public static AbstractMethodDeclaration findMethod(CompilationUnitDeclaration cu, String methodName) {
for (TypeDeclaration type : cu.types) {