docs: public AnnotationInfo getMarkerOrAcceptedAnnotation(Symbol sym, VisitorState state) {
      String nameStr = sym.flatName().toString();
      AnnotationInfo known = knownTypes.getKnownSafeClasses().get(nameStr);
      if (known != null) {
        return known;
      }
      return getAnnotation(
          sym, ImmutableSet.copyOf(Sets.union(markerAnnotations, acceptedAnnotations)), state);
    }