KClassValue

data class KClassValue(val kClass: KClass<*>) : MetadataValue

A KClass<*> literal captured directly as a real reference. The compiler plugin emits the same IrClassReference already present on the source-level annotation argument, so consumers receive the actual KClass and can call reflection facilities directly when supported.

Constructors

Link copied to clipboard
constructor(kClass: KClass<*>)

Properties

Link copied to clipboard
val kClass: KClass<*>

Functions

Link copied to clipboard
open override fun toString(): String