git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@15 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
checkModify(); | checkModify(); | ||||
ClassFile cf = getClassFile2(); | ClassFile cf = getClassFile2(); | ||||
Bytecode code = new Bytecode(cf.getConstPool(), 0, 0); | Bytecode code = new Bytecode(cf.getConstPool(), 0, 0); | ||||
try { | |||||
modifyClassConstructor(cf, b, 0, 0); | |||||
} | |||||
catch (CompileError e) { | |||||
throw new CannotCompileException(e); | |||||
} | |||||
modifyClassConstructor(cf, code, 0, 0); | |||||
return getClassInitializer(); | return getClassInitializer(); | ||||
} | } | ||||