annotationsOf<T> method

Iterable<T> annotationsOf<T>()
inherited

Returns all annotations assignable to type T.

Implementation

Iterable<T> annotationsOf<T>() => annotations.whereType<T>();