147148149150151152153154155156157
mv.visitInsn( Opcodes.RETURN ); mv.visitMaxs( 1, 1 ); mv.visitEnd(); cw.visitEnd(); final byte[] buf = cw.toByteArray(); return defineClass( name, buf, 0, buf.length ); } } }