MethodVisitor mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "<init>", '(' + DEPENDENCY_DESC + ")V", null, null);
mv.visitCode();
mv.visitVarInsn(ALOAD, 0); // Load this
mv.visitInsn(DUP); // Dup
mv.visitMethodInsn(INVOKESPECIAL, parent, "<init>", "()V"); // Call super
mv.visitVarInsn(ALOAD, 1); // Load the argument
mv.visitFieldInsn(PUTFIELD, className, DEPENDENCY, DEPENDENCY_DESC); // Assign the dependency field
mv.visitInsn(RETURN); // Return void
mv.visitMaxs(0, 0);