code: public ClassConstant addClass(String name)
    {
      ClassConstant entry = getClass(name);
  
      if (entry != null)
        return entry;
  
      Utf8Constant utf8 = addUTF8(name);
  
      entry = new ClassConstant(this, _entries.size(), utf8.getIndex());
  
      addConstant(entry);
  
      return entry;
    }
docs: Adds a class constant.