public interface AnnotationRemapper
AnnotationMapperinterface with the following differences:
Useful for supporting multiple annotation sets that reside in different package namespaces, however are largely
similar in function, for example
io.micronaut.core.annotation.Nullable. One can
remap these to a single annotation internally at compilation time.
|Modifier and Type||Method and Description|
The map method will be called for each instances of the annotation returned via this method.
@NonNull List<AnnotationValue<?>> remap(AnnotationValue<?> annotation, VisitorContext visitorContext)
annotation- The annotation values
visitorContext- The context that is being visited