Refactoring BCEL Code Generator