@Internal public class RolesAllowedAnnotationMapper extends Object implements TypedAnnotationMapper<RolesAllowed>
RolesAllowed
annotation in Micronaut.Constructor and Description |
---|
RolesAllowedAnnotationMapper() |
Modifier and Type | Method and Description |
---|---|
Class<RolesAllowed> |
annotationType()
The annotation type to be mapped.
|
List<AnnotationValue<?>> |
map(AnnotationValue<RolesAllowed> annotation,
VisitorContext visitorContext)
The map method will be called for each instances of the annotation returned via this method.
|
public Class<RolesAllowed> annotationType()
TypedAnnotationMapper
annotationType
in interface TypedAnnotationMapper<RolesAllowed>
public List<AnnotationValue<?>> map(AnnotationValue<RolesAllowed> annotation, VisitorContext visitorContext)
AnnotationMapper
map
in interface AnnotationMapper<RolesAllowed>
annotation
- The annotation valuesvisitorContext
- The context that is being visited