GeneratorAdapter ga = new GeneratorAdapter(ACC_PUBLIC, m, mv);
ga.visitCode();
ga.loadThis();
ga.getField(bean, "f", Type.INT_TYPE);
ga.returnValue();
ga.endMethod();
}
mv = cv.visitMethod(ACC_PUBLIC, "setF", "(I)V", null, null);
if (mv != null) {
Type bean = Type.getType("Lpkg/Bean;");
Method m = Method.getMethod("void setF(int)");