Class SimpleReflectiveProcessor
java.lang.Object
org.springframework.aot.hint.annotation.SimpleReflectiveProcessor
- All Implemented Interfaces:
- ReflectiveProcessor
A simple 
ReflectiveProcessor implementation that registers only a
 reflection hint for the annotated type. Can be sub-classed to customize
 processing for a given AnnotatedElement type.- Since:
- 6.0
- Author:
- Stephane Nicoll
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidregisterConstructorHint(ReflectionHints hints, Constructor<?> constructor) RegisterReflectionHintsagainst the specifiedConstructor.protected voidregisterFieldHint(ReflectionHints hints, Field field) RegisterReflectionHintsagainst the specifiedField.protected voidregisterMethodHint(ReflectionHints hints, Method method) RegisterReflectionHintsagainst the specifiedMethod.voidregisterReflectionHints(ReflectionHints hints, AnnotatedElement element) RegisterReflectionHintsagainst the specifiedAnnotatedElement.protected voidregisterTypeHint(ReflectionHints hints, Class<?> type) RegisterReflectionHintsagainst the specifiedClass.
- 
Constructor Details- 
SimpleReflectiveProcessorpublic SimpleReflectiveProcessor()
 
- 
- 
Method Details- 
registerReflectionHintsDescription copied from interface:ReflectiveProcessorRegisterReflectionHintsagainst the specifiedAnnotatedElement.- Specified by:
- registerReflectionHintsin interface- ReflectiveProcessor
- Parameters:
- hints- the reflection hints instance to use
- element- the element to process
 
- 
registerTypeHintRegisterReflectionHintsagainst the specifiedClass.- Parameters:
- hints- the reflection hints instance to use
- type- the class to process
 
- 
registerConstructorHintRegisterReflectionHintsagainst the specifiedConstructor.- Parameters:
- hints- the reflection hints instance to use
- constructor- the constructor to process
 
- 
registerFieldHintRegisterReflectionHintsagainst the specifiedField.- Parameters:
- hints- the reflection hints instance to use
- field- the field to process
 
- 
registerMethodHintRegisterReflectionHintsagainst the specifiedMethod.- Parameters:
- hints- the reflection hints instance to use
- method- the method to process
 
 
-