Package org.springframework.aot.hint
Class BindingReflectionHintsRegistrar
java.lang.Object
org.springframework.aot.hint.BindingReflectionHintsRegistrar
Register the necessary reflection hints so that the specified type can be
bound at runtime. Fields, constructors, properties, and record components
are registered, except for a set of types like those in the
java.
package where just the type is registered. Types are discovered transitively
on properties and record components, and generic types are registered as well.- Since:
- 6.0
- Author:
- Sebastien Deleuze
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerReflectionHints
(ReflectionHints hints, Type... types) Register the necessary reflection hints to bind the specified types.
-
Constructor Details
-
BindingReflectionHintsRegistrar
public BindingReflectionHintsRegistrar()
-
-
Method Details
-
registerReflectionHints
Register the necessary reflection hints to bind the specified types.- Parameters:
hints
- the hints instance to usetypes
- the types to register
-