Top Description Methods
org.springframework.aot.hint.annotation

public @Interface Reflective

extends Annotation
Annotations
@Target:ANNOTATION_TYPE, TYPE, CONSTRUCTOR, FIELD, METHOD
@Retention:RUNTIME
@Documented
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target, org.springframework.core.annotation.AliasFor

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.

Authors
Stephane Nicoll, Sam Brannen
Since
6.0
See Also
SimpleReflectiveProcessor, ReflectiveRuntimeHintsRegistrar, @RegisterReflectionForBinding

Method Summary

Modifier and TypeMethod and Description
public Class<? extends ReflectiveProcessor>[]
processors()

ReflectiveProcessor implementations to invoke against the annotated element.

public Class<? extends ReflectiveProcessor>[]
value()

Alias for processors().

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

processorsback to summary
public Class<? extends ReflectiveProcessor>[] processors()

ReflectiveProcessor implementations to invoke against the annotated element.

Annotations
@AliasFor:value
valueback to summary
public Class<? extends ReflectiveProcessor>[] value()

Alias for processors().

Annotations
@AliasFor:processors