with Annotation Of
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
k Class
The Kotlin class representing annotation to include.
k Classes
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
k Classes
The Kotlin classes representing annotations to include.