Extracting JavaDoc comment?# Java - 爪哇娇娃
c*t
1 楼
I am writing a program which needs to extract JavaDoc comments from
given source files. The thing is, I need to do it dynamically, like
showing the comment as a tooltip etc.
I know Eclipse/IntelliJ IDEA have the feature, I am wondering how
they did it, since I need to do the same for my program. I certainly
do not wish to write my own Java parser.
Any pointers? Thanks.
given source files. The thing is, I need to do it dynamically, like
showing the comment as a tooltip etc.
I know Eclipse/IntelliJ IDEA have the feature, I am wondering how
they did it, since I need to do the same for my program. I certainly
do not wish to write my own Java parser.
Any pointers? Thanks.