~/talk

Fact or kapt? Build your next annotation processor with KSP

Talkat Android Worldwide October 2021 · on Thursday, 2021-10-28· [kotlin, android]
links:none on file
slides:none on file

Claims that KSP (Kotlin Symbol Processor) cuts annotation-processing build time by avoids stub generation and lets processors see Kotlin sources directly. Demonstrates a toy processor that finds @InSummable data classes and emits a Kotlin extension summing Int properties, with unit tests passing using kotlin-compile-testing. Implements codegen via KotlinPoet and registers the processor with AutoService. Shows real-world context: Room/Moshi experimental KSP support, planned Dagger/Glide support, and inspection of kapt stubs in the Sunflower project.

AI-written summary · about

  1. 0:00Start
  2. 1:02Hardware Performance Is Improving
  3. 2:01Json Serialization Benchmark
  4. 3:42Fail Fast
  5. 8:33Build Gradle
  6. 13:26Create a Processor Class
  7. 13:59Constructor Parameters
  8. 15:55Get Symbols with Annotation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.