CodeAttribute ca1 = new CodeAttribute();
ca1.setAttributeNameIndex(ConstantPoolUtil.addConstantUTF8Info(cf,
CodeAttribute.ATTRIBUTE_NAME,
0));
ca1.setCode(ByteCodeWriter.writeByteCode(Arrays.asList(new org.gjt.jclasslib.bytecode.AbstractInstruction[] {
new SimpleInstruction(org.gjt.jclasslib.bytecode.Opcodes.OPCODE_ALOAD_0),
new ImmediateShortInstruction(org.gjt.jclasslib.bytecode.Opcodes.OPCODE_INVOKESPECIAL,
ConstantPoolUtil.addConstantMethodrefInfo(cf,
"java/lang/Object",
"<init>",
"()V",
0)),
new SimpleInstruction(org.gjt.jclasslib.bytecode.Opcodes.OPCODE_RETURN) })));
ca1.setMaxStack(1);
ca1.setMaxLocals(1);
mi1.setAttributes(new AttributeInfo[] { ca1 });
ConstantStringInfo s = new ConstantStringInfo();