hasAnnotationsWithAllNames

abstract fun hasAnnotationsWithAllNames(name: String, vararg names: String): Boolean

Determines whether the declaration has annotations with all the specified names.

Return

true if there are declarations with all the specified names, false otherwise.

Parameters

name

the name of the annotations to check. It can be either a simple name or a fully qualified name.

names

The names of the annotations to check. It can be either a simple name or a fully qualified name.


Determines whether the declaration has annotations with all the specified names.

Return

true if there are declarations with all the specified names, false otherwise.

Parameters

names

The names of the annotations to check. It can be either a simple name or a fully qualified name.