Class JakartaEntityIntrospectedAnnotationMapper
java.lang.Object
io.micronaut.inject.beans.visitor.persistence.JakartaEntityIntrospectedAnnotationMapper
- All Implemented Interfaces:
Named
,AnnotationMapper<Annotation>
,NamedAnnotationMapper
- Direct Known Subclasses:
JakartaMappedSuperClassIntrospectionMapper
@Internal
public class JakartaEntityIntrospectedAnnotationMapper
extends Object
implements NamedAnnotationMapper
An annotation mapper that improves introspection for JPA entities.
- Since:
- 3.5
- Author:
- Denis Stepanov
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
List<AnnotationValue<?>>
map
(AnnotationValue<Annotation> annotation, VisitorContext visitorContext) The map method will be called for each instances of the annotation returned via this method.
-
Constructor Details
-
JakartaEntityIntrospectedAnnotationMapper
public JakartaEntityIntrospectedAnnotationMapper()
-
-
Method Details
-
getName
-
map
public List<AnnotationValue<?>> map(AnnotationValue<Annotation> annotation, VisitorContext visitorContext) Description copied from interface:AnnotationMapper
The map method will be called for each instances of the annotation returned via this method.- Specified by:
map
in interfaceAnnotationMapper<Annotation>
- Parameters:
annotation
- The annotation valuesvisitorContext
- The context that is being visited- Returns:
- A list of zero or many annotations and values to map to
-