annotatedWithExact method

  1. @override
Iterable<AnnotatedElement> annotatedWithExact(
  1. TypeChecker checker
)
override

All of the resolved declarations in this library annotated with exactly checker.

Implementation

@override
Iterable<AnnotatedElement> annotatedWithExact(TypeChecker checker) sync* {
  for (final Element element in resolvedElements) {
    final ElementAnnotation? annotation = checker.firstAnnotationOfExact(element);
    if (annotation != null) {
      yield AnnotatedElement(element, annotation);
    }
  }
}