// }
String setterName = "set" + appendName;
mv = cv.visitMethod(ACC_PUBLIC, setterName, "(" + className + ")V", null, null);
// Add some flags on the generated method
addAnnotationsOnGeneratedMethod(mv);
mv.visitCode();
mv.visitVarInsn(ALOAD, 0);
// Depends of the type
int opCode = putFieldLoadOpCode(type.getSort());
mv.visitVarInsn(opCode, 1);
mv.visitFieldInsn(PUTFIELD, beanClassName, fieldName, className);