Class ReflectionIntrospectionConfiguration.Description.Indexed
java.lang.Object
io.micronaut.reflection.ReflectionIntrospectionConfiguration.Description.Indexed
- Enclosing class:
ReflectionIntrospectionConfiguration.Description
@Internal
@EachProperty(value="indexed",
list=true)
public static final class ReflectionIntrospectionConfiguration.Description.Indexed
extends Object
An annotation the properties carrying it are indexed by.
- Since:
- 5.2.0
- Author:
- Denis Stepanov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringThe name of the annotation.@Nullable StringThe name of the member.voidsetAnnotation(@Nullable String annotation) The name of the annotation to index the properties by.voidThe name of the member whose valueBeanIntrospection.getIndexedProperty(Class, String)looks a property up by; without it the annotation is indexed by itself alone.
-
Constructor Details
-
Indexed
public Indexed()Creates the entry; it is instantiated by the context.
-
-
Method Details
-
getAnnotation
The name of the annotation.- Returns:
- The name of the annotation
-
setAnnotation
The name of the annotation to index the properties by.- Parameters:
annotation- The annotation name
-
getMember
-
setMember
The name of the member whose valueBeanIntrospection.getIndexedProperty(Class, String)looks a property up by; without it the annotation is indexed by itself alone.- Parameters:
member- The member name
-