public class RolesAllowedAnnotationMapper extends Object implements AnnotationMapper<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)
The map method will be called for each instances of the annotation returned via the
AnnotationMapper.annotationType() method. |
public Class<RolesAllowed> annotationType()
AnnotationMapper
annotationType
in interface AnnotationMapper<RolesAllowed>
public List<AnnotationValue<?>> map(AnnotationValue<RolesAllowed> annotation)
AnnotationMapper
AnnotationMapper.annotationType()
method.map
in interface AnnotationMapper<RolesAllowed>
annotation
- The annotation values