Class RegisterReflectionReflectiveProcessor
java.lang.Object
org.springframework.aot.hint.annotation.RegisterReflectionReflectiveProcessor
- All Implemented Interfaces:
ReflectiveProcessor
A
ReflectiveProcessor
implementation that pairs with
@RegisterReflection
. Can be used as a base
implementation for composed annotations that are meta-annotated with
RegisterReflection
.- Since:
- 6.2
- Author:
- Stephane Nicoll
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static final record
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparse
(AnnotatedElement element, RegisterReflection annotation) protected void
registerReflectionHints
(ReflectionHints hints, Class<?> target, MemberCategory[] memberCategories) final void
registerReflectionHints
(ReflectionHints hints, AnnotatedElement element) RegisterReflectionHints
against the specifiedAnnotatedElement
.protected void
registerReflectionHints
(ReflectionHints hints, RegisterReflectionReflectiveProcessor.ReflectionRegistration registration)
-
Constructor Details
-
RegisterReflectionReflectiveProcessor
public RegisterReflectionReflectiveProcessor()
-
-
Method Details
-
registerReflectionHints
Description copied from interface:ReflectiveProcessor
RegisterReflectionHints
against the specifiedAnnotatedElement
.- Specified by:
registerReflectionHints
in interfaceReflectiveProcessor
- Parameters:
hints
- the reflection hints instance to useelement
- the element to process
-
parse
protected RegisterReflectionReflectiveProcessor.ReflectionRegistration parse(AnnotatedElement element, RegisterReflection annotation) -
registerReflectionHints
protected void registerReflectionHints(ReflectionHints hints, RegisterReflectionReflectiveProcessor.ReflectionRegistration registration) -
registerReflectionHints
protected void registerReflectionHints(ReflectionHints hints, Class<?> target, MemberCategory[] memberCategories)
-