findAnnotation<A> method

A? findAnnotation<A>()

Implementation

A? findAnnotation<A>() {
  return annotations.whereType<A>().firstOrNull;
}