all Annotations
fun allAnnotations(useSiteTarget: AnnotationSpec.UseSiteTarget? = null, containsReifiedTypeParameter: Boolean = false): Collection<AnnotationSpec>
A collection of all annotations on this method, including any derived from jvmModifiers, isSynthetic, and exceptions.
Parameters
use Site Target
an optional UseSiteTarget that all annotations on this method should use.
contains Reified Type Parameter
an optional boolean indicating if any type parameters on this function are reified
, which are implicitly synthetic.