code: protected static void register(Class<?> parent, Class<?> clazz) {
      Entry e = data.get(parent);
      if(e == null) {
        data.put(parent, e = new Entry());
      }
      final String cname = clazz.getCanonicalName();
      e.addHit(cname, clazz);
      if(clazz.isAnnotationPresent(Alias.class)) {
        Alias aliases = clazz.getAnnotation(Alias.class);
        for(String alias : aliases.value()) {
          e.addAlias(alias, cname);
        }
      }
    }
docs: Register a class in the registry.
  
  Careful: do not use this from your code before first making sure this has
  been fully initialized. Otherwise, other implementations will not be found.
  Therefore, avoid calling this from your own Java code!
  
  @param parent Class
  @param clazz Implementation