code: public ClassConstant getClass(String name)
    {
      for (int i = 0; i < _entries.size(); i++) {
        ConstantPoolEntry entry = _entries.get(i);
  
        if (! (entry instanceof ClassConstant))
          continue;
  
        ClassConstant classEntry = (ClassConstant) entry;
  
        if (classEntry.getName().equals(name))
          return classEntry;
      }
  
      return null;
    }
docs: Gets a class constant.