final int getSize ( final ClassWriter cw , final byte [ ] code , final int len , final int maxStack , final int maxLocals ) { Attribute attr = this ; int size = 0 ; while ( attr != null ) { cw . newUTF8 ( attr . type ) ; size += attr . write ( cw , code , len , maxStack , maxLocals ) . length + 6 ; attr = attr . next ; } return size ; }
Returns the size of all the attributes in this attribute list .