Uses of Class
org.springframework.aot.hint.ReflectionHints
Package
Description
Support for registering the need for reflection, resources, java
serialization and proxies at runtime.
Annotation support for runtime hints.
Annotations and support classes for handling messages.
-
Uses of ReflectionHints in org.springframework.aot.hint
Modifier and TypeMethodDescriptionRuntimeHints.jni()
Provide access to jni-based hints.RuntimeHints.reflection()
Provide access to reflection-based hints.ReflectionHints.registerConstructor
(Constructor<?> constructor, ExecutableMode mode) Register the need for reflection on the specifiedConstructor
, using the specifiedExecutableMode
.ReflectionHints.registerField
(Field field) Register the need for reflection on the specifiedField
.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.registerMethod
(Method method, ExecutableMode mode) Register the need for reflection on the specifiedMethod
, using the specifiedExecutableMode
.ReflectionHints.registerType
(Class<?> type, Consumer<TypeHint.Builder> typeHint) Register or customize reflection hints for the specified type.ReflectionHints.registerType
(Class<?> type, MemberCategory... memberCategories) Register or customize reflection hints for the specified type using the specifiedMemberCategories
.ReflectionHints.registerType
(TypeReference type, Consumer<TypeHint.Builder> typeHint) Register or customize reflection hints for the type defined by the specifiedTypeReference
.ReflectionHints.registerType
(TypeReference type, MemberCategory... memberCategories) Register or customize reflection hints for the specified type using the specifiedMemberCategories
.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 specifiedClassLoader
.ReflectionHints.registerTypeIfPresent
(ClassLoader classLoader, String typeName, MemberCategory... memberCategories) Register or customize reflection hints for the specified type if it is available using the specifiedClassLoader
.ReflectionHints.registerTypes
(Iterable<TypeReference> types, Consumer<TypeHint.Builder> typeHint) Register or customize reflection hints for the types defined by the specified list oftype references
.Modifier and TypeMethodDescriptionvoid
BindingReflectionHintsRegistrar.registerReflectionHints
(ReflectionHints hints, Type... types) Register the necessary reflection hints to bind the specified types. -
Uses of ReflectionHints in org.springframework.aot.hint.annotation
Modifier and TypeMethodDescriptionprotected void
SimpleReflectiveProcessor.registerConstructorHint
(ReflectionHints hints, Constructor<?> constructor) RegisterReflectionHints
against the specifiedConstructor
.protected void
SimpleReflectiveProcessor.registerFieldHint
(ReflectionHints hints, Field field) RegisterReflectionHints
against the specifiedField
.protected void
SimpleReflectiveProcessor.registerMethodHint
(ReflectionHints hints, Method method) RegisterReflectionHints
against the specifiedMethod
.void
ReflectiveProcessor.registerReflectionHints
(ReflectionHints hints, AnnotatedElement element) RegisterReflectionHints
against the specifiedAnnotatedElement
.protected void
RegisterReflectionReflectiveProcessor.registerReflectionHints
(ReflectionHints hints, Class<?> target, MemberCategory[] memberCategories) final void
RegisterReflectionReflectiveProcessor.registerReflectionHints
(ReflectionHints hints, AnnotatedElement element) protected void
RegisterReflectionReflectiveProcessor.registerReflectionHints
(ReflectionHints hints, RegisterReflectionReflectiveProcessor.ReflectionRegistration registration) void
SimpleReflectiveProcessor.registerReflectionHints
(ReflectionHints hints, AnnotatedElement element) protected void
SimpleReflectiveProcessor.registerTypeHint
(ReflectionHints hints, Class<?> type) RegisterReflectionHints
against the specifiedClass
. -
Uses of ReflectionHints in org.springframework.messaging.handler.annotation
Modifier and TypeMethodDescriptionprotected void
MessageMappingReflectiveProcessor.registerMessageExceptionHandlerHints
(ReflectionHints hints, MessageExceptionHandler annotation) protected void
MessageMappingReflectiveProcessor.registerMethodHints
(ReflectionHints hints, Method method) protected void
MessageMappingReflectiveProcessor.registerParameterHints
(ReflectionHints hints, Method method) void
MessageMappingReflectiveProcessor.registerReflectionHints
(ReflectionHints hints, AnnotatedElement element) protected void
MessageMappingReflectiveProcessor.registerReturnValueHints
(ReflectionHints hints, Method method) protected void
MessageMappingReflectiveProcessor.registerTypeHints
(ReflectionHints hints, Class<?> type)