static Set<String> getAnnotationsMarkedWithInherited(Element element) {
    return element.getAnnotationMirrors().stream()
        .filter(a -> isAnnotationPresent(a.getAnnotationType().asElement(), Inherited.class))
        .map(a -> getAnnotationFqName(a))
        .collect(toSet());
  }
Returns the contents of the {@code AutoValue.CopyAnnotations.exclude} element, as a set of
strings that are fully-qualified class names.
value/src/main/java/com/google/auto/value/processor/AutoValueishProcessor.java