users@jaxb.java.net

Re: Generating inline comments from plugins

From: Aleksei Valikov <valikov_at_gmx.net>
Date: Thu, 10 Jan 2008 12:08:15 +0100

Hi.

> In a JAXB2 plugin, does the codemodel api provide any means to generate
> inline comments? It only seems to offer support for javadoc comments,
> via the JDocComment class. I can't find any other comment-related
> classes in the API.

You can user directStatement("// my comment) in blocks for this purpose.

Bye.
/lexi