[stringtemplate-interest] StringTemplate + Doclet

Collin Fagan collin.fagan at gmail.com
Mon Dec 20 13:55:45 PST 2010


Hi Everyone,

I'm a big fan of StringTemplate but I've finally run into something I can't
do. Basically I would very much like to bridge StringTemplate to java's
Doclet API (
http://download.oracle.com/javase/6/docs/technotes/guides/javadoc/doclet/overview.html)
but the classes in com.sun.javadoc.* do not follow the getter + setter rule.
They have method names like classes(), methods() and the like. Is there a
way to override how ST looks for properties? Am I missing something where I
can just call methods()? My only other options seem to involve lots of
wrapping (not fun) or pushing everythign into maps (also not fun).

Thanks,

Collin

P.S. I apologize in advance if this subject is well covered someplace else.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/stringtemplate-interest/attachments/20101220/af9f07e0/attachment.html 


More information about the stringtemplate-interest mailing list