apatrida
06/28/2016, 12:35 PMprivate fun addAction(targetConfig: Config) {
actions.add(BindActions {
val asJson = targetConfig.root().render(ConfigRenderOptions.concise().setJson(true))
val instance: T = mapper.readValue(asJson, TypeFactory.defaultInstance().constructType(_bind.type))!!
DirectBinder(_bind.tag, overrides)._with(_bind.type, singleton { instance })
})
}