question: protected boolean writeFields ( DataOutputStream dd ) throws IOException { field_info fi ; int i ; for ( i = 0 ; i < fields_count ; i ++ ) { fi = fields [ i ] ; dd . writeShort ( fi . access_flags ) ; dd . writeShort ( fi . name_index ) ; dd . writeShort ( fi . descriptor_index ) ; dd . writeShort ( fi . attributes_count ) ; if ( fi . attributes_count > 0 ) { writeAttributes ( dd , fi . attributes_count , fi . attributes ) ; } } return true ; }
target:  Writes the fields to the given stream.