I am currently learning both BCEL and java bytecode. From the javadoc I noticed that LOOKUPSWITH and TABLESWITCH implements the StackProducer interface, however, don't these instructions actually consume the stack (like IfInstruction do), and hence should implement StackConsumer?