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 added on 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 Summary
Modifier and TypeOptional ElementDescriptionClass<? extends ReflectiveProcessor>[]
ReflectiveProcessor
implementations to invoke against the annotated element.Class<? extends ReflectiveProcessor>[]
Alias forprocessors()
.
-
Element Details
-
value
Alias forprocessors()
.- Default:
- {org.springframework.aot.hint.annotation.SimpleReflectiveProcessor.class}
-
processors
ReflectiveProcessor
implementations to invoke against the annotated element.- Default:
- {org.springframework.aot.hint.annotation.SimpleReflectiveProcessor.class}
-