code: public void write(ByteCodeWriter out)
      throws IOException
    {
      out.writeShort(_entries.size());
  
      for (int i = 1; i < _entries.size(); i++) {
        ConstantPoolEntry entry = _entries.get(i);
  
        if (entry != null)
          entry.write(out);
      }
    }
docs: Writes the contents of the pool.