KmAnnotationArgument

Represents an argument of the annotation.

Inheritors

Types

Link copied to clipboard
data class AnnotationValue(val annotation: KmAnnotation) : KmAnnotationArgument

An annotation argument which is another annotation value.

Link copied to clipboard
data class ArrayKClassValue(val className: ClassName, val arrayDimensionCount: Int) : KmAnnotationArgument

Annotation argument whose type is one of the kotlin.Array KClasses.

Link copied to clipboard

An annotation argument with an array type, i.e., several values of one arbitrary type.

Link copied to clipboard

An annotation argument with a Boolean type.

Link copied to clipboard

An annotation argument with a Byte type.

Link copied to clipboard

An annotation argument with a Char type.

Link copied to clipboard

An annotation argument with a Double type.

Link copied to clipboard
data class EnumValue(val enumClassName: ClassName, val enumEntryName: String) : KmAnnotationArgument

An annotation argument with an enumeration type.

Link copied to clipboard

An annotation argument with a Float type.

Link copied to clipboard

An annotation argument with a Int type.

Link copied to clipboard

An annotation argument of KClass type.

Link copied to clipboard
sealed class LiteralValue<out T : Any> : KmAnnotationArgument

A kind of annotation argument, whose value is directly accessible via value. This is possible for annotation arguments of primitive types, unsigned types, and strings.

Link copied to clipboard

An annotation argument with a Long type.

Link copied to clipboard

An annotation argument with a Short type.

Link copied to clipboard

An annotation argument with a String type.

Link copied to clipboard

An annotation argument with a UByte type.

Link copied to clipboard

An annotation argument with a UInt type.

Link copied to clipboard

An annotation argument with a ULong type.

Link copied to clipboard

An annotation argument with a UShort type.