public static DeclaredType getTypeMirror(AnnotationValue value) {
    return TypeMirrorVisitor.INSTANCE.visit(value);
  }
Returns the value as a class.

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