Value

sealed interface Value

A constant value used in an annotation usage site. Constant values must be one of the following types:

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class ByteValue(val value: Byte) : AnnotationInstance.Value
Link copied to clipboard
data class CharValue(val value: Char) : AnnotationInstance.Value
Link copied to clipboard
Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard
data class EnumValue(val type: ClassReference, val name: String) : AnnotationInstance.Value
Link copied to clipboard
data class FloatValue(val value: Float) : AnnotationInstance.Value
Link copied to clipboard
data class IntegerValue(val value: Int) : AnnotationInstance.Value
Link copied to clipboard
data class LongValue(val value: Long) : AnnotationInstance.Value
Link copied to clipboard
data class ShortValue(val value: Short) : AnnotationInstance.Value
Link copied to clipboard

Functions

Link copied to clipboard
open fun toMemberValue(constPool: ConstPool): MemberValue