https://kotlinlang.org logo
#opensource
Title
# opensource
o

orangy

02/02/2019, 12:20 PM
There is also this: https://github.com/lightningkite/mirror-kotlin (I didn’t try either, so I don’t know if they are essentially the same thing or not)
They seem to have it in #mirror
m

Marc Knaup

02/02/2019, 12:28 PM
Interesting library and approach. It does do something completely different though. - It's for runtime, I need the info at build time (annotation processing) - It uses annotation processing on its own - I just want the
@Metadata
info in a consumer-friendly way - You have to specify the types for which you need a mirror in advance which seems like quite some overhead - You need a plugin - It's for kotlinx serialization as far I can see?
o

orangy

02/02/2019, 12:29 PM
It’s multiplatform, that’s why I think it has to be a plugin.
m

Marc Knaup

02/02/2019, 12:30 PM
Maybe, I haven't ventured into that path yet 😄
o

orangy

02/02/2019, 12:30 PM
@josephivie
j

josephivie

02/02/2019, 11:31 PM
@orangy That's correct, it's for multiplatform. It's built to be a semi-permanent replacement to the unimplemented Kotlin reflection, and is specifically focused on runtime usage.
2 Views