public void read(ByteCodeParser in) throws IOException {
  int length=in.readInt();
  _maxStack=in.readShort();
  _maxLocals=in.readShort();
  int codeLength=in.readInt();
  _code=new byte[codeLength];
  in.read(_code,0,codeLength);
  int exnCount=in.readShort();
  for (int i=0; i < exnCount; i++) {
    ExceptionItem exn=new ExceptionItem();
    exn.setStart(in.readShort() & 0xffff);
    exn.setEnd(in.readShort() & 0xffff);
    exn.setHandler(in.readShort() & 0xffff);
    exn.setType(in.readShort() & 0xffff);
    _exceptions.add(exn);
  }
  int attrCount=in.readShort();
  for (int i=0; i < attrCount; i++) {
    Attribute attr=in.parseAttribute();
    _attributes.add(attr);
  }
}

public void read ( ByteCodeParser in ) throws IOException { int length = in . readInt ( ) ; _maxStack = in . readShort ( ) ; _maxLocals = in . readShort ( ) ; int codeLength = in . readInt ( ) ; _code = new byte [ codeLength ] ; in . read ( _code , 0 , codeLength ) ; int exnCount = in . readShort ( ) ; for ( int i = 0 ; i < exnCount ; i ++ ) { ExceptionItem exn = new ExceptionItem ( ) ; exn . setStart ( in . readShort ( ) & 0xffff ) ; exn . setEnd ( in . readShort ( ) & 0xffff ) ; exn . setHandler ( in . readShort ( ) & 0xffff ) ; exn . setType ( in . readShort ( ) & 0xffff ) ; _exceptions . add ( exn ) ; } int attrCount = in . readShort ( ) ; for ( int i = 0 ; i < attrCount ; i ++ ) { Attribute attr = in . parseAttribute ( ) ; _attributes . add ( attr ) ; } }
writes the field to the output .
