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