[jboss-user] [Javassist user questions] - Replace outgoing method call

johanhaleby do-not-reply at jboss.com
Fri Dec 19 08:32:41 EST 2008


Hi, 

Let's say I have a method M1 in class A that calls method M2 in class B. I would like to replace M1's call to M2 without modifying the byte-code of B (because I cannot byte-code manipulate this class, for example because it's a java.lang class). Is this possible in Javassist without using the byte-code level API?

Thanks
Johan

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

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



More information about the jboss-user mailing list