createAnnotations

fun createAnnotations(siteTarget: AnnotationSpec.UseSiteTarget? = null, body: MutableCollection<AnnotationSpec>.() -> Unit): Collection<AnnotationSpec>

Return

a new collection of AnnotationSpecs with sorting and de-duping input annotations from body.