withAnnotationOf
fun <T : KoAnnotationProvider> List<T>.withAnnotationOf(kClass: KClass<*>, vararg kClasses: KClass<*>): List<T>
List containing declarations that have at least one annotation of the specified KClass
type.
Return
A list containing declarations with at least one annotation of the specified KClass
type.
Parameters
kClass
The Kotlin class representing annotation to include.
kClasses
The Kotlin classes representing annotations to include.
List containing declarations that have at least one annotation of the specified KClass
type.
Return
A list containing declarations with at least one annotation of the specified KClass
type.
Parameters
kClasses
The Kotlin classes representing annotations to include.