Hey guys, I've just released the first version of ...
# opensource
m
Hey guys, I've just released the first version of
fluid-meta
(JVM only so far) which makes Kotlin's extensive metadata (hidden annotations on types, packages and modules) easily accessible just like normal reflection would do. The good thing is that it also works great for annotation processing, so you can get all the info like
internal
,
inline
, nullability,
companion
etc. from an
Element
where reflection is not available. It's based on
kotlinx.metadata
and abstracts its visitor pattern and the whole library away completely. I'm using it in my JSON library where I started adding rich annotation-based Kotlin-first serialization & parsing 🙂 Let me know what you think! https://github.com/fluidsonic/fluid-meta
👍 6