public void visitMethodInsn(int opcode, String owner, String name, String desc) {
   events.append(
       "visitMethodInsn("
           + Utils.toOpcodeString(opcode)
           + ","
           + owner
           + ","
           + name
           + ","
           + desc
           + ") ");
 }
 public void visitInsn(int opcode) {
   events.append("visitInsn(" + Utils.toOpcodeString(opcode) + ") ");
 }
 public void visitTypeInsn(int opcode, String type) {
   events.append("visitTypeInsn(" + Utils.toOpcodeString(opcode) + "," + type + ") ");
 }
 public void visitVarInsn(int opcode, int var) {
   events.append("visitVarInsn(" + Utils.toOpcodeString(opcode) + "," + var + ") ");
 }
 public static void main(String[] argv) throws Exception {
   ClassReader reader =
       new ClassReader(Utils.loadBytesFromStream(new FileInputStream(new File(argv[0]))));
   reader.accept(new ClassPrinter(System.out, INCLUDE_BYTECODE), 0);
 }