enum AnnotationValue
source · line 140public enum AnnotationValue
An evaluated annotation constant. Floating-point payloads retain their raw bits, and enum values retain variant identity.
variant Integer
source · line 156Integer(IntegerValue)
An integer retaining its width and signedness.
field _
source · line 156IntegerValue
parameter _
source · line 156IntegerValue
variant DoubleBits
source · line 164DoubleBits(ULong)
Raw binary64 bits, preserving NaN payload and signed zero.
field _
source · line 164ULong
parameter _
source · line 164ULong
variant Boolean
source · line 144Boolean(Boolean)
A Boolean constant.
field _
source · line 144Boolean
parameter _
source · line 144Boolean
variant Array
source · line 176Array(AnnotationAtomType, Array<AnnotationValue>)
A homogeneous array retaining its declared element category.
field _
source · line 176Array<AnnotationValue>
field _
source · line 176AnnotationAtomType
parameter _
source · line 176Array<AnnotationValue>
parameter _
source · line 176AnnotationAtomType
variant String
source · line 148String(String)
An immutable text constant.
parameter _
source · line 148String
field _
source · line 148String
variant IntegerEnum
source · line 168IntegerEnum(TypeRef, VariantRef, IntegerValue)
An integer-enum type, declared variant identity, and underlying integer value.
field _
source · line 168VariantRef
parameter _
source · line 168TypeRef
field _
source · line 168TypeRef
field _
source · line 168IntegerValue
parameter _
source · line 168IntegerValue
parameter _
source · line 168VariantRef
variant FloatBits
source · line 160FloatBits(UInt)
Raw binary32 bits, preserving NaN payload and signed zero.
field _
source · line 160UInt
parameter _
source · line 160UInt
variant Char
source · line 152Char(Char)
A Unicode scalar constant.
field _
source · line 152Char
parameter _
source · line 152Char
variant Annotation
source · line 172Annotation(AnnotationInfo)
A nested annotation instance.
parameter _
source · line 172AnnotationInfo
field _
source · line 172AnnotationInfo
function equals
source · line 140operator fun equals(other: AnnotationValue): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: Boolean, String, Char, IntegerValue, UInt, ULong, TypeRef, VariantRef, AnnotationInfo, AnnotationAtomType, Array<AnnotationValue>.