docs: public void write(DataOutputStream out) throws Exception
  	{
  
  		//第一个占位用
  		out.writeInt(MAGIC);
  		out.writeShort(0);
  		//jdk5
  		out.writeShort(49);
  
  		int clsIndex = this.registerClass(this.cls);
  		int parentIndex = this.registerClass(this.parentCls);
  
  		byte[] initMethod = getInitMethod();
  		byte[] valueMethod = this.getProxyMethod();
  
  		//constpool-size
  		out.writeShort(this.constPool.size() + 1);
  		writeConstPool(out);
  		out.writeShort(33);//public class
  		out.writeShort(clsIndex);
  		out.writeShort(parentIndex);
  		out.writeShort(0); //interface count;
  		out.writeShort(0); //filed count;
  		//写方法
  		out.writeShort(2); //method count;
  		out.write(initMethod);
  		out.write(valueMethod);
  
  		out.writeShort(0); //class-attribute-info
  
  	}