has Annotation With Name
Determines whether the declaration has at least one annotation whose name matches any of the specified names.
Return
true
if there is a matching declaration, 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 at least one annotation whose name matches any of the specified names.
Return
true
if there is a matching declaration, false
otherwise.
Parameters
names
the names of the annotations to check. It can be either a simple name or a fully qualified name.