How to access comments from the java compiler tree api generated ast ?

Posted by Code freak on Stack Overflow See other posts from Stack Overflow or by Code freak
Published on 2010-06-11T01:55:27Z Indexed on 2010/06/11 2:03 UTC
Read the original article Hit count: 319

Filed under:
|
|
|

Hi,

I've used the java compiler tree api to generate the ast for java source files. However, i'm unable to access th comments in the source files.

So far, i've been unable to a way to extract comments from source file .. is there a way using the compiler api or some other tool ?

© Stack Overflow or respective owner

Related posts about java

Related posts about compiler