private static void storeConstantPool(DataOutputStream dos,List<ConstantPoolInfo> constantPool) throws IOException {
  dos.writeShort(constantPool.size());
  for (int i=1; i < constantPool.size(); ++i) {
    ConstantPoolInfo cpi=(ConstantPoolInfo)constantPool.get(i);
    if (cpi == null)     continue;
    cpi.store(dos);
  }
}

private static void storeConstantPool ( DataOutputStream dos , List < ConstantPoolInfo > constantPool ) throws IOException { dos . writeShort ( constantPool . size ( ) ) ; for ( int i = 1 ; i < constantPool . size ( ) ; ++ i ) { ConstantPoolInfo cpi = ( ConstantPoolInfo ) constantPool . get ( i ) ; if ( cpi == null ) continue ; cpi . store ( dos ) ; } }
u2 constant_pool_count , constant_pool [ constant_pool_count - 1 ]
