allAnnotations

A collection of all annotations on this method, including any derived from jvmModifiers, isSynthetic, and exceptions.

Parameters

containsReifiedTypeParameter

an optional boolean indicating if any type parameters on this function are reified, which are implicitly synthetic.

useSiteTarget

an optional UseSiteTarget that all annotations on this method should use.

fun allAnnotations(useSiteTarget: AnnotationSpec.UseSiteTarget?, containsReifiedTypeParameter: Boolean): Collection<AnnotationSpec>