@Override public void write(ByteCodeWriter out) throws IOException {
  out.writeUTF8Const(getName());
  TempOutputStream ts=new TempOutputStream();
  ByteCodeWriter o2=new ByteCodeWriter(ts,out.getJavaClass());
  o2.writeShort(_methods.size());
  for (int i=0; i < _methods.size(); i++) {
    BootstrapMethod method=_methods.get(i);
    o2.writeShort(method.getMethodRef());
    o2.writeShort(method.getArgumentSize());
    for (    ConstantPoolEntry entry : method.getArguments()) {
      o2.writeShort(entry.getIndex());
    }
  }
  ts.close();
  out.writeInt(ts.getLength());
  TempBuffer ptr=ts.getHead();
  for (; ptr != null; ptr=ptr.next()) {
    out.write(ptr.buffer(),0,ptr.length());
  }
  ts.destroy();
}

@ Override public void write ( ByteCodeWriter out ) throws IOException { out . writeUTF8Const ( getName ( ) ) ; TempOutputStream ts = new TempOutputStream ( ) ; ByteCodeWriter o2 = new ByteCodeWriter ( ts , out . getJavaClass ( ) ) ; o2 . writeShort ( _methods . size ( ) ) ; for ( int i = 0 ; i < _methods . size ( ) ; i ++ ) { BootstrapMethod method = _methods . get ( i ) ; o2 . writeShort ( method . getMethodRef ( ) ) ; o2 . writeShort ( method . getArgumentSize ( ) ) ; for ( ConstantPoolEntry entry : method . getArguments ( ) ) { o2 . writeShort ( entry . getIndex ( ) ) ; } } ts . close ( ) ; out . writeInt ( ts . getLength ( ) ) ; TempBuffer ptr = ts . getHead ( ) ; for ( ; ptr != null ; ptr = ptr . next ( ) ) { out . write ( ptr . buffer ( ) , 0 , ptr . length ( ) ) ; } ts . destroy ( ) ; }
writes the field to the output .
