# Uses of Class
org.springframework.aot.hint.TypeHint.Builder

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

## Uses of TypeHint.Builder in org.springframework.aot.hint

Methods in org.springframework.aot.hint that return TypeHint.Builder
Modifier and Type
Method
Description
`TypeHint.Builder`
TypeHint.Builder.`onReachableType(Class<?> reachableType)`
Make this hint conditional on the fact that the specified type is in a reachable code path from a static analysis point of view.
`TypeHint.Builder`
TypeHint.Builder.`onReachableType(TypeReference reachableType)`
Make this hint conditional on the fact that the specified type is in a reachable code path from a static analysis point of view.
`TypeHint.Builder`
TypeHint.Builder.`withConstructor(List<TypeReference> parameterTypes, ExecutableMode mode)`
Register the need for reflection on the constructor with the specified parameter types, using the specified `ExecutableMode`.
`TypeHint.Builder`
TypeHint.Builder.`withField(String name)`
Register the need for reflective access on the field with the specified name.
`TypeHint.Builder`
TypeHint.Builder.`withMembers(MemberCategory... memberCategories)`
Adds the specified member categories.
`TypeHint.Builder`
TypeHint.Builder.`withMethod(String name, List<TypeReference> parameterTypes, ExecutableMode mode)`
Register the need for reflection on the method with the specified name and parameter types, using the specified `ExecutableMode`.
Methods in org.springframework.aot.hint that return types with arguments of type TypeHint.Builder
Modifier and Type
Method
Description
`static Consumer<TypeHint.Builder>`
TypeHint.`builtWith(MemberCategory... memberCategories)`
Return a `Consumer` that applies the given `MemberCategories` to the accepted `TypeHint.Builder`.
Method parameters in org.springframework.aot.hint with type arguments of type TypeHint.Builder
Modifier and Type
Method
Description
`ReflectionHints`
ReflectionHints.`registerForInterfaces(Class<?> type, Consumer<TypeHint.Builder> typeHint)`
Register or customize reflection hints for all the interfaces implemented by the given type and its parent classes, ignoring the common Java language interfaces.
`ReflectionHints`
ReflectionHints.`registerType(Class<?> type, Consumer<TypeHint.Builder> typeHint)`
Register or customize reflection hints for the specified type.
`ReflectionHints`
ReflectionHints.`registerType(TypeReference type, Consumer<TypeHint.Builder> typeHint)`
Register or customize reflection hints for the type defined by the specified `TypeReference`.
`ReflectionHints`
ReflectionHints.`registerTypeIfPresent(ClassLoader classLoader, String typeName, Consumer<TypeHint.Builder> typeHint)`
Register or customize reflection hints for the specified type if it is available using the specified `ClassLoader`.
`ReflectionHints`
ReflectionHints.`registerTypes(Iterable<TypeReference> types, Consumer<TypeHint.Builder> typeHint)`
Register or customize reflection hints for the types defined by the specified list of `type references`.