Annotation Processing in a Kotlin World

85a1166e93654865b4dcafdafe2b2dfd?s=47 Zac Sweers
October 04, 2018

Annotation Processing in a Kotlin World

Annotation processing is a powerful tool to extend your codebase at build time, and the advent of Kotlin in the android community introduces a dimension to this. Kapt works with existing Java processors, but it doesn’t come without its quirks at the interop layer. This talk will dive into how you can leverage Kotlin bytecode’s @Metadata annotations to better understand Kotlin code during annotation processing, covering anywhere from case studies in Dagger and Moshi to leveraging tools like KotlinPoet to even generate Kotlin code that seamlessly leverages language features.


Zac Sweers

October 04, 2018