Class MapperAnnotationMapper
java.lang.Object
io.micronaut.inject.beans.visitor.MapperAnnotationMapper
- All Implemented Interfaces:
AnnotationMapper<Mapper>
,TypedAnnotationMapper<Mapper>
Handles the mapper annotation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe annotation type to be mapped.List<AnnotationValue<?>>
map
(AnnotationValue<Mapper> annotation, VisitorContext visitorContext) The map method will be called for each instances of the annotation returned via this method.
-
Constructor Details
-
MapperAnnotationMapper
public MapperAnnotationMapper()
-
-
Method Details
-
map
public List<AnnotationValue<?>> map(AnnotationValue<Mapper> 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<Mapper>
- Parameters:
annotation
- The annotation valuesvisitorContext
- The context that is being visited- Returns:
- A list of zero or many annotations and values to map to
-
annotationType
Description copied from interface:TypedAnnotationMapper
The annotation type to be mapped.- Specified by:
annotationType
in interfaceTypedAnnotationMapper<Mapper>
- Returns:
- The annotation type
-