Member predicate Declaration::Declaration::getAnAttribute

Gets an attribute (for example [Obsolete]) of this declaration, if any.

Attribute getAnAttribute()