一篇介绍jsr用法的文章

一篇介绍jsr用法的文章:

https://today.java.net/pub/a/today/2008/04/10/source-code-analysis-using-java-6-compiler-apis.html#accessing-the-abstract-syntax-tree-the-compiler-tree-api

jsr可以将java source生成为一个TreePath,可以读取到该类中的所有信息。(除了备注 -.-!)。

可以了,现在转向eclipse adt看看能否获得带备注的ast。

发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>