array

Create an array argument. All elements must be of type elementType.

Throws

if any elements are not of type elementType


fun <T : AnnotationArgument> array(first: T, vararg values: T): AnnotationArgument.Array<T>(source)

Create an array argument. All elements must have the same AnnotationArgument.type.

Throws

if any elements have a different type