Egidijus Vaisnora egidijus.vaisnora at
Fri Jun 1 01:38:56 PDT 2007

	"com.sun.tool.javac.tree.JCTree" API is not providing access to Javadoc 
or to any comment in the source. Implementation have something, but I 
wasn't able get it to work.
	It looks like this API is not very suitable for editing/writing just 
for "reading", and I will need to build my own.

Peter Ahé wrote:
> On 5/31/07, Brian Slesinsky <brian at> wrote:
>> I don't have the code in front of me, but javadoc is definitely in
>> there.  It's a bit obscure.
> com.sun.tool.javac.tree.JCTree is not documented.  You must be
> thinking of com.sun.source.tree.*.    All documentation for javac is
> in one of these two locations:
> Cheers,
> Peter

More information about the compiler-dev mailing list