public static AnnotationMirror getAnnotationMirror(AnnotationValue value) {
    return AnnotationMirrorVisitor.INSTANCE.visit(value);
  }
Returns the value as an AnnotationMirror.

@throws IllegalArgumentException if the value is not an annotation.
common/src/main/java/com/google/auto/common/AnnotationValues.java