docs: public static ImmutableSet<TypeElement> referencedTypes(TypeMirror type) {
      checkNotNull(type);
      ImmutableSet.Builder<TypeElement> elements = ImmutableSet.builder();
      type.accept(ReferencedTypes.INSTANCE, elements);
      return elements.build();
    }