annotations property
List<ElementAnnotation>
get
annotations
The annotations associated with the associated element or fragment.
If the metadata is associated with an element that has fragments, the list will include all of the annotations from all of the fragments.
The list will be empty if the associated element or fragment does not have any annotations or if the library containing the holder has not yet been fully resolved.
Implementation
List<ElementAnnotation> get annotations;