static L bcel_methodToInstructions(JavaClass c, Method method) { S className = c.getClassName(); var cp = new ConstantPoolGen(c.getConstantPool()); MethodGen mg = new MethodGen(method, className, cp); InstructionList il = mg.getInstructionList(); InstructionHandle[] ihs = il.getInstructionHandles(); ret asList(ihs); }