As reported by #28977

The ReflectionHints class provides a typeHints() Stream, where as most of the other APIs don't end with hint (e.g. SerializationHints.javaSerialization().