code: public void parseConstantPool()
      throws IOException
    {
      int count = readShort();
  
      for (int i = 1; i < count; i++) {
        ConstantPoolEntry entry = parseConstantPoolEntry(i);
  
        _cp.addConstant(entry);
        
        if (entry instanceof DoubleConstant ||
            entry instanceof LongConstant) {
          i++;
          _cp.addConstant(null);
        }
      }
    }
docs: Parses the constant pool.