Show data from @kotlin.Metadata annotations. These contain protobuf-encoded data that's currently shown as opaque byte arrays.
What to show?
- Whether a class is a data class, inline class, object, sealed, etc.
- Actual Kotlin function signatures (nullable types, default parameters, suspend)
- Property declarations (val/var, delegated, lateinit)
- Companion object references
- Internal visibility (which is public at JVM level)
- Type aliases, inline class boxing info
How to implement it:
The kotlinx-metadata-jvm library deserializes the @kotlin.Metadata annotation into a structured model.
Show Kotlin-specific semantics, like suspend fun foo(x: String?): List instead of the JVM descriptor
Maybe a dedicated Kotlin node for per metadata annotation?
Show data from @kotlin.Metadata annotations. These contain protobuf-encoded data that's currently shown as opaque byte arrays.
What to show?
How to implement it:
The kotlinx-metadata-jvm library deserializes the @kotlin.Metadata annotation into a structured model.
Show Kotlin-specific semantics, like suspend fun foo(x: String?): List instead of the JVM descriptor
Maybe a dedicated Kotlin node for per metadata annotation?