AnnotationArgument
An argument of an annotation instance.
Inheritors
Types
Link copied to clipboard
data class Annotation<S : Symbol.Annotation<S, I>, I : Symbol.Annotation.Instance<S, I>>(val annotationArguments: I) : AnnotationArgument
Another annotation used as an argument.
Link copied to clipboard
data class Array<T : AnnotationArgument>(val values: List<T>, val elementType: AnnotationParameterType<T>) : AnnotationArgument, List<T>
An array argument with elements of elementType.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
An enum argument. Does not include the ordinal because that is not always available.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A class literal argument.
Link copied to clipboard
Link copied to clipboard
An argument of one of the primitive types (+ String).
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun <A : AnnotationArgument, T : AnnotationParameterType<A>> AnnotationArgument.asTypeOrNull(type: T): A?