createThrowsSpec

Return

a @ThrowsAnnotationSpec representation of a given collection of exceptions.

fun createThrowsSpec(exceptions: Collection<TypeName>, useSiteTarget: AnnotationSpec.UseSiteTarget?): AnnotationSpec