writer.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC, "Sample", null,
"java/lang/Object", new String[] { Type
.getInternalName(Callable.class) });
// Constructor
MethodVisitor mv = writer.visitMethod(Opcodes.ACC_PUBLIC, "<init>",
"(Ljava/lang/Object;)V", null, new String[0]);
mv.visitCode();
mv.visitVarInsn(Opcodes.ALOAD, 0);
mv.visitMethodInsn(Opcodes.INVOKESPECIAL, "java/lang/Object", "<init>",
"()V");