KClassValue

data class KClassValue(val className: ClassName) : KmAnnotationArgument

An annotation argument of KClass type.

For example, in @Foo(String::class) argument of Foo is a KClassValue which className is kotlin/String.

All the KClasses, except kotlin.Array, are represented by this class. Arrays are a specific case and represented by ArrayKClassValue — see its documentation for details.

Constructors

Link copied to clipboard
constructor(className: ClassName)

Properties

Link copied to clipboard

FQ name of the referenced class.