code: public void addConstant(ConstantPoolEntry entry)
    {
      if (entry instanceof Utf8Constant) {
        Utf8Constant utf8 = (Utf8Constant) entry;
  
        _utf8Map.put(utf8.getValue(), utf8);
      }
  
      _entries.add(entry);
    }
docs: Adds a new constant.