Guice is based on reflections, no reflections yet on K/N
gildor
07/12/2018, 2:14 PM
I think it would be possible to write DI when compiler plugins will be available for K/N and use code generation for this, probably would be a better approach than reflections
gildor
07/12/2018, 2:15 PM
For now you can easily write service locator on Kotlin, you can take a look on existing ones like Kodein or Koin for inspiration (maybe some of them already available as multiplatform, not sure)