code: @SuppressWarnings("unchecked")
    public <C extends PrimitiveConfig<C>> C getPrimitive(String name) {
      return (C) primitives.get(name);
    }
docs: Returns a primitive configuration.
  
  @param name the primitive name
  @param <C>  the configuration type
  @return the primitive configuration