code: protected void gatherComponentInfo (ComponentRepository crepo)
      {
          // get the list of all component classes
          Iterators.addAll(_classes, crepo.enumerateComponentClasses());
  
          for (int ii = 0; ii < _classes.size(); ii++) {
              // get the list of components available for this class
              ComponentClass cclass = _classes.get(ii);
              Iterator<Integer> iter = crepo.enumerateComponentIds(cclass);
  
              while (iter.hasNext()) {
                  Integer cid = iter.next();
                  ArrayList<Integer> clist = _components.get(cclass);
                  if (clist == null) {
                      _components.put(cclass, clist = Lists.newArrayList());
                  }
  
                  clist.add(cid);
              }
          }
      }
docs: Gathers component class and component information from the
  character manager for later reference by others.