Uses of Class
org.springframework.aot.hint.ReflectionHints
Packages that use 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
Methods in org.springframework.aot.hint that return ReflectionHintsModifier 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.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.Methods in org.springframework.aot.hint with parameters of type ReflectionHintsModifier and TypeMethodDescriptionvoidBindingReflectionHintsRegistrar.registerReflectionHints(ReflectionHints hints, Type... types) Register the necessary reflection hints to bind the specified types. -
Uses of ReflectionHints in org.springframework.aot.hint.annotation
Methods in org.springframework.aot.hint.annotation with parameters of type ReflectionHintsModifier and TypeMethodDescriptionprotected voidSimpleReflectiveProcessor.registerConstructorHint(ReflectionHints hints, Constructor<?> constructor) RegisterReflectionHintsagainst the specifiedConstructor.protected voidSimpleReflectiveProcessor.registerFieldHint(ReflectionHints hints, Field field) RegisterReflectionHintsagainst the specifiedField.protected voidSimpleReflectiveProcessor.registerMethodHint(ReflectionHints hints, Method method) RegisterReflectionHintsagainst the specifiedMethod.voidReflectiveProcessor.registerReflectionHints(ReflectionHints hints, AnnotatedElement element) RegisterReflectionHintsagainst the specifiedAnnotatedElement.voidRegisterReflectionForBindingProcessor.registerReflectionHints(ReflectionHints hints, AnnotatedElement element) voidSimpleReflectiveProcessor.registerReflectionHints(ReflectionHints hints, AnnotatedElement element) protected voidSimpleReflectiveProcessor.registerTypeHint(ReflectionHints hints, Class<?> type) RegisterReflectionHintsagainst the specifiedClass. -
Uses of ReflectionHints in org.springframework.messaging.handler.annotation
Methods in org.springframework.messaging.handler.annotation with parameters of type ReflectionHintsModifier and TypeMethodDescriptionprotected voidMessageMappingReflectiveProcessor.registerMessageExceptionHandlerHints(ReflectionHints hints, MessageExceptionHandler annotation) protected voidMessageMappingReflectiveProcessor.registerMethodHints(ReflectionHints hints, Method method) protected voidMessageMappingReflectiveProcessor.registerParameterHints(ReflectionHints hints, Method method) voidMessageMappingReflectiveProcessor.registerReflectionHints(ReflectionHints hints, AnnotatedElement element) protected voidMessageMappingReflectiveProcessor.registerReturnValueHints(ReflectionHints hints, Method method) protected voidMessageMappingReflectiveProcessor.registerTypeHints(ReflectionHints hints, Class<?> type)