[jboss-user] [Javassist user questions] - No support for varargs in the CtConstructor/CtMethod

Juda do-not-reply at jboss.com
Tue Oct 28 07:52:42 EDT 2008


Is there any way at all to set 'varargs' flag for the CtConstructor/CtMethod? I have noticed that it defaults to 'false'. 
In some cases it does matter if the method is a 'varargs' or not - simple workaround by checking the method's last argument isn't sufficient, because even if it is an array, the method still might have not been intended to be used as a 'varargs' method.

Regards,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185067#4185067

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185067



More information about the jboss-user mailing list