I don't think there is any way to do this.

...speculating on why you ask...

I suspect this is for your dynamic mbean generator?  I think the result
will be clearer if you create a subclass of the supplied class rather than
trying to copy the  method bodies of the original class.  If this won't
work I'm curious to know why, and if this is not relevant to what you are
trying to do please ignore my comments.

thanks
david jencks


On 2003.07.09 05:29 [EMAIL PROTECTED] wrote:
> hi all,       
>       i have a source from which i have to generate
> something with xdoclet.
> for example, if in the source i have following method (taken from jboss
> jmx example)
> 
> /**
>     * Does something.
>     *
>     * @param p1 a <code>String</code> value
>     * @param p2 an <code>Integer</code> value
>     * @jmx.managed-operation
>     *    description="operation with 2 arguments"
>     *    impact="INFO"
>     * @jmx.managed-parameter name="stringParam1" type="java.lang.String"
> description="first string param"
>     * @jmx.managed-parameter name="integerParam2"
> type="java.lang.Integer" description="other param"
>     */
>    public String doSomething(String p1, Integer p2)
>    {
>       return p1 + p2;
>    }
> 
> 
> i want to be able to in output comments, method signature as well as
> method body.
> 
> i can get commetns and signature, but it looks like there is no way to
> get the body...
> 
> can anybody help?
> 
> thanx in advance and regards
>       marco
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 
> 


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to