~/talk

Exploiting Kotlin Metadata + Annotation Processing

Talkat Conference for Kotliners 2018 · 2018-06-15..06-16· [kotlin]
slides:none on file

Prototype from a year earlier now powers real libraries: about a dozen annotation processors use Kotlin metadata to recover nullability, mutable vs immutable types, type aliases and sealed-class children during annotation processing. A shadowed Kotlin-compiler adapter and protobuf decoding produce an internal model that generators use to emit code that actually compiles — examples include generated “with” extensions for data classes, a Moshi integration merged upstream, and a Room bug fix that reliably preserves parameter names across modules.

AI-written summary · about

  1. 0:00Kotlin metadata overview
  2. 1:23Understanding the metadata
  3. 4:11Metadata fields and structure
  4. 8:05Extracting information
  5. 13:14Practical applications
  6. 21:25JetBrains API and roadmap
  7. 25:44Code example demonstration
  8. 38:00Q&A and closing
~/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.