mv = cv.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null);
if (mv != null) {
Method m = Method.getMethod("void <init>()");
GeneratorAdapter ga = new GeneratorAdapter(ACC_PUBLIC, m, mv);
ga.visitCode();
ga.loadThis();
ga.invokeConstructor(Type.getType("Ljava/lang/Object;"), m);
ga.returnValue();
ga.endMethod();
}
mv = cv.visitMethod(ACC_PUBLIC, "getF", "()I", null, null);