docs: public Violation isThreadSafeType(
        boolean allowContainerTypeParameters, Set<String> containerTypeParameters, Type type) {
      return type.accept(
          new ThreadSafeTypeVisitor(allowContainerTypeParameters, containerTypeParameters), null);
    }