MetaCapture
Captures a @kotlin.Metadata annotation during an ASM read, and re-emits it — verbatim, or as a rewritten replacement. Stores ONLY the fields the original actually carried, which is what makes a verbatim re-emit add nothing: a lambda class (k=3) carries no d1, and an empty one reads back as a deserializable proto, NPEing readFunctionDataFrom deep inside the inliner. Primitive arrays (mv/bv) arrive as one value; string arrays (d1/d2) arrive element-by-element via a nested visitArray visitor.
Properties
Functions
Link copied to clipboard
Which fields the original annotation actually carried — the set a rewrite must reproduce one-for-one.
Link copied to clipboard
The captured annotation as a real Metadata, for kotlin-metadata to read.
Link copied to clipboard
Link copied to clipboard