question: public void write ( OutputStream out ) throws IOException { DataOutputStream dataOut = new DataOutputStream ( out ) ; dataOut . writeShort ( pool . size ( ) + 1 ) ; for ( Entry e : pool ) { e . write ( dataOut ) ; } }
target:  Write this constant pool to a stream as part of the class file format. This consists of writing the "constant_pool_count" and "constant_pool[]" items of the "ClassFile" structure, as described in JVMS section 4.1.