1 Reply Latest reply on Jan 22, 2009 8:53 AM by Martin Burger

    Replace outgoing method call

    Johan Haleby Newbie


      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?