mv.visitVarInsn(ALOAD, 0);
mv.visitVarInsn(ILOAD, 1);
mv.visitFieldInsn(PUTFIELD, "pkg/Bean", "f", "I");
mv.visitInsn(RETURN);
mv.visitMaxs(2, 2);
mv.visitEnd();
}
mv = cv.visitMethod(ACC_PUBLIC, "checkAndSetF", "(I)V", null, null);
if (mv != null) {
mv.visitCode();
mv.visitVarInsn(ILOAD, 1);