# Uses of Class
org.springframework.aot.hint.SerializationHints

Packages that use SerializationHints
Package
Description
org.springframework.aot.hint
Support for registering the need for reflection, resources, java serialization and proxies at runtime.

## Uses of SerializationHints in org.springframework.aot.hint

Methods in org.springframework.aot.hint that return SerializationHints
Modifier and Type
Method
Description
`SerializationHints`
SerializationHints.`registerType(Class<? extends Serializable> type)`
Register that the specified type need to be serialized using java serialization.
`SerializationHints`
SerializationHints.`registerType(Class<? extends Serializable> type, Consumer<JavaSerializationHint.Builder> serializationHint)`
Register that the specified type need to be serialized using java serialization.
`SerializationHints`
SerializationHints.`registerType(TypeReference type)`
Register that the type defined by the specified `TypeReference` need to be serialized using java serialization.
`SerializationHints`
SerializationHints.`registerType(TypeReference type, Consumer<JavaSerializationHint.Builder> serializationHint)`
Register that the type defined by the specified `TypeReference` need to be serialized using java serialization.
`SerializationHints`
RuntimeHints.`serialization()`
Provide access to serialization-based hints.