public void write(ByteCodeWriter out) throws IOException {
  out.writeShort(_accessFlags);
  out.writeUTF8Const(_name);
  out.writeUTF8Const(_descriptor);
  out.writeShort(_attributes.size());
  for (int i=0; i < _attributes.size(); i++) {
    Attribute attr=_attributes.get(i);
    attr.write(out);
  }
}

public void write ( ByteCodeWriter out ) throws IOException { out . writeShort ( _accessFlags ) ; out . writeUTF8Const ( _name ) ; out . writeUTF8Const ( _descriptor ) ; out . writeShort ( _attributes . size ( ) ) ; for ( int i = 0 ; i < _attributes . size ( ) ; i ++ ) { Attribute attr = _attributes . get ( i ) ; attr . write ( out ) ; } }
writes the field to the output .
