MethodVisitor mv = cw.visitMethod(ACC_PUBLIC, "set" + fieldName, "(" + definition + ")V",
genericDefinition == null ? null : "(" + genericDefinition + ")V", null);
mv.visitCode();
mv.visitVarInsn(ALOAD, 0);
mv.visitVarInsn(loadKey, 1);
mv.visitFieldInsn(PUTFIELD, newTypeName, fieldName + "_", definition);
mv.visitInsn(RETURN);
mv.visitMaxs(3, 3);
mv.visitEnd();
}
{