public static ImmutableSet<AnnotationMirror> getAnnotatedAnnotations(
      Element element, Class<? extends Annotation> annotationClass) {
    String name = annotationClass.getCanonicalName();
    if (name == null) {
      return ImmutableSet.of();
    }
    return getAnnotatedAnnotations(element, name);
  }
Returns all {@linkplain AnnotationMirror annotations} that are present on the given {@link
Element} which are themselves annotated with {@code annotationClass}.
common/src/main/java/com/google/auto/common/AnnotationMirrors.java