mv.visitEnd();
methodName = JAXBUtils.nameToIdentifier(name, JAXBUtils.IdentifierType.SETTER);
mv = cw.visitMethod(Opcodes.ACC_PUBLIC, methodName, "(" + classCode + ")V",
fieldDescriptor == null ? null : "(" + fieldDescriptor + ")V", null);
mv.visitCode();
mv.visitVarInsn(Opcodes.ALOAD, 0);
org.objectweb.asm.Type setType = org.objectweb.asm.Type.getType(classCode);
mv.visitVarInsn(setType.getOpcode(Opcodes.ILOAD), 1);
mv.visitFieldInsn(Opcodes.PUTFIELD, className, fieldName, classCode);
mv.visitInsn(Opcodes.RETURN);