*/
public class BeanGenerator2 {
public byte[] generate(PrintWriter printWriter) {
ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_MAXS);
TraceClassVisitor tcv = new TraceClassVisitor(cw, printWriter);
CheckClassAdapter cv = new CheckClassAdapter(tcv);
cv.visit(V1_6, ACC_PUBLIC, "pkg/Bean", null, "java/lang/Object",
null);
cv.visitSource("Bean.java", null);
FieldVisitor fv = cv.visitField(ACC_PRIVATE, "f", "I", null, null);