code: protected <T> T map(Config config, Class<T> clazz) {
      return map(config, null, null, clazz);
    }
docs: Applies the given configuration to the given type.
  
  @param config the configuration to apply
  @param clazz  the class to which to apply the configuration