<div dir="ltr"><div><div><div>Hi,<br><br></div>I have changed the super class declaration of some of the classes in the project. But the problem arises for the methods that were invoked using super. To be clear consider the following scenario.<br><br></div>Class child extends class Parent. I changed the declaration to NewParent. So, NewParent is the super class of class Child. But all the super methods that are invoked in class Child still refer to the Parent class in the byte code, as in byte code the invoke statements are directly associated with containing classes. So, any method call say super.foo() inside child actually calls Parent: foo(), I want to replace those with NewParent: foo()<br><br></div>How can I do that? I have created a body transformer. But still figuring out the solution.<br clear="all"><div><div><div><div><div><div class="gmail_signature">--<br>Regards,<br>Tanzirul Azim <br><br></div></div>
</div></div></div></div></div>