<https://github.com/Jintin/KBuilder> Create a tool...
# ksp
j
https://github.com/Jintin/KBuilder Create a tool to auto-generate builder pattern using ksp, hope this can showcase the power of ksp over annotation processing
e
I've previously built something equivalent on annotation processing, https://github.com/ephemient/builder-generator
KSP should be able to get information like the presence of default args more easily, but it would still be difficult to do something with them
p
I’ve previously built something equivalent on amputation processing,
Amputation Processing 🙈
‼️ 1
e
auto-correct 🙊 any 🦵🪚 processing was unintentional
😄 2
j
Ya, I feel it more powerful, like the generic information, nullable, etc. But still hard to write though.
e
that is all achievable in kapt as well, if you pull in kotlinx.metadata.jvm. it's easier in ksp
👍 1
j
oh, thanks for sharing, not sure how to do that before.