Annotation Interface Reflective
@Documented
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,TYPE,CONSTRUCTOR,FIELD,METHOD})
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.
- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll, Sam Brannen
- 另请参阅:
-
可选元素概要
可选元素修饰符和类型可选元素说明Class<? extends ReflectiveProcessor>[]ReflectiveProcessorimplementations to invoke against the annotated element.Class<? extends ReflectiveProcessor>[]Alias forprocessors().
-
元素详细资料
-
value
Alias forprocessors().- 默认值:
- {cn.taketoday.aot.hint.annotation.SimpleReflectiveProcessor.class}
-
processors
ReflectiveProcessorimplementations to invoke against the annotated element.- 默认值:
- {cn.taketoday.aot.hint.annotation.SimpleReflectiveProcessor.class}
-