Get Internal Comments By Using Eclipse JDT ASTParser
You may try to use Eclipse JDT ASTParser to parse Java source files, but cannot get the list of internal comments in the .java file. There is a method called getCommentList from the CompilationUnit class. But if you use it, you find that it returns a list of empty comments. How to get internal comments … Read more