public class JoafipObjectDump implements Opcodes {
public static byte[] dump() throws Exception {
ClassWriter cw = new ClassWriter(0);
FieldVisitor fv;
MethodVisitor mv;
AnnotationVisitor av0;
cw.visit(
V1_6,
ACC_PUBLIC + ACC_SUPER,
"net/sf/joafip/store/service/proxy/JoafipObject",
null,
"java/lang/Object",
new String[] { "net/sf/joafip/store/service/proxy/IProxyCallBack" });
{
av0 = cw.visitAnnotation("Lnet/sf/joafip/NotStorableClass;", true);
av0.visitEnd();
}
{
fv = cw.visitField(
ACC_PRIVATE + ACC_TRANSIENT,
"proxyCallBack",
"Lnet/sf/joafip/store/service/proxy/IProxyCallBackToImplement;",
null, null);
fv.visitEnd();
}
{
fv = cw.visitField(ACC_PRIVATE + ACC_TRANSIENT,
"setProxyCallBackTrace", "Ljava/lang/Exception;", null,
null);
fv.visitEnd();
}
{
mv = cw.visitMethod(ACC_PUBLIC, "<init>", "()V", null, null);
mv.visitCode();
mv.visitVarInsn(ALOAD, 0);