Annotation Interface Reflective
@Target({ANNOTATION_TYPE,TYPE,CONSTRUCTOR,FIELD,METHOD})
@Retention(RUNTIME)
@Documented
public @interface Reflective
Indicate that the annotated element requires reflection.
When present, either directly or as a meta-annotation, this annotation triggers the configured processors against the annotated element. By default, a reflection hint is registered for the annotated element so that it can be discovered and invoked if necessary.
- Since:
- 6.0
- Author:
- Stephane Nicoll, Sam Brannen
- See Also:
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionClass<? extends ReflectiveProcessor>[]ReflectiveProcessorimplementations to invoke against the annotated element.Class<? extends ReflectiveProcessor>[]Alias forprocessors().
- 
Element Details- 
valueAlias forprocessors().- Default:
- {org.springframework.aot.hint.annotation.SimpleReflectiveProcessor.class}
 
- 
processorsReflectiveProcessorimplementations to invoke against the annotated element.- Default:
- {org.springframework.aot.hint.annotation.SimpleReflectiveProcessor.class}
 
 
-