On Fri, 2004-04-23 at 15:06, Joscha Diehl wrote:
> Hi,
> writing my own module, I finally figured out how to reconstruct the 
> compelete method-header. But how do I access the method body?

You can't.  The parser only exposes the signatures and javadoc
comments/tags.

> What my module/xdcolet-tag will be for is: copy the class as is, and on 
> the "tagged" methods wrap the method body in a try/finally block. It 
> will be for tracing purposes.
> Is xdoclet the tool for this at all?

Why not just write/generate a class that extends it, and in the subclass
wrap a call to super(...) with your try/finally block?


Andrew.



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to