[jboss-user] [Javassist user questions] - Re: Using Javassist inside Mojo

chiba do-not-reply at jboss.com
Thu Jun 4 05:50:54 EDT 2009


Have you checked the ClassPool object can access BeforeMethod?
Please try:


method.getDeclaringClass().getClassPool().get("org.testng...BeforeMethod")

If this returns null, the ClassPool does not know how to obtain the class file.  Maybe the appended class path is wrong.  Otherwise, something I don't know is happening.

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

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



More information about the jboss-user mailing list