hasAllAnnotationsOf

abstract fun hasAllAnnotationsOf(name: KClass<*>, vararg names: KClass<*>): Boolean

Determines whether the declaration has annotations with all the specified KClass type.

Return

true if the declaration has annotations of all the specified KClass types, false otherwise.

Parameters

name

the KClass type of the annotation to check.

names

the KClass types of the annotations to check.


abstract fun hasAllAnnotationsOf(names: Collection<KClass<*>>): Boolean

Determines whether the declaration has annotations with all the specified KClass type.

Return

true if the declaration has annotations of all the specified KClass types, false otherwise.

Parameters

names

the KClass types of the annotations to check.