withAnnotation<T> static method

Iterable<ArtifactTypeMirror> withAnnotation<T>([
  1. Type? exactType
])

Implementation

static Iterable<ArtifactTypeMirror> withAnnotation<T>([
  Type? exactType,
]) sync* {
  for (MapEntry<Type, $AClass> entry in ArtifactAccessor.withAnnotation<T>(
    exactType,
  )) {
    yield ArtifactTypeMirror(entry.value.classType, entry.value);
  }
}