code: protected <T extends IComponent> void addComponent(Class<T> componentType, T component) {
          components.put(componentType, component);
      }
docs: Adds a component to the registry.
  @param componentType
  @param component