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 Summary
Constructors - 
Method Summary
Modifier 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
- 
SimpleReflectiveProcessor
public SimpleReflectiveProcessor() 
 - 
 - 
Method Details
- 
registerReflectionHints
Description copied from interface:ReflectiveProcessorRegisterReflectionHintsagainst the specifiedAnnotatedElement.- Specified by:
 registerReflectionHintsin interfaceReflectiveProcessor- Parameters:
 hints- the reflection hints instance to useelement- the element to process
 - 
registerTypeHint
RegisterReflectionHintsagainst the specifiedClass.- Parameters:
 hints- the reflection hints instance to usetype- the class to process
 - 
registerConstructorHint
RegisterReflectionHintsagainst the specifiedConstructor.- Parameters:
 hints- the reflection hints instance to useconstructor- the constructor to process
 - 
registerFieldHint
RegisterReflectionHintsagainst the specifiedField.- Parameters:
 hints- the reflection hints instance to usefield- the field to process
 - 
registerMethodHint
RegisterReflectionHintsagainst the specifiedMethod.- Parameters:
 hints- the reflection hints instance to usemethod- the method to process
 
 -