Extract Constructor Code to new method

Felix Dorner <[email protected]> Thu, 2 Jul 2009 10:23:12 +0200
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <FC95BD382E2CF447BAA1B2AF1F9FFFE602628AD1E7@MX034ZED0001.TIFDOM.COM>
Hey,

Given a no-arg constructor, I'd like to insert a new public method and move=
 all instructions into that new method. After moving that code, the constru=
ctor would look like one that's automatically inserted by the compiler, i.e=
. only calls <init> of its superclass and returns.

I've never done anything with BCEL, though I can follow the general informa=
tion pages. Still, I have no Idea how hard my problem is and therefore want=
ed to ask here for some guidance.


Thanks,
Felix=