Interface AnnotationMapper<T extends java.lang.annotation.Annotation>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> map​(io.micronaut.core.annotation.AnnotationValue<T> annotation, VisitorContext visitorContext)
      The map method will be called for each instances of the annotation returned via this method.
    • Method Detail

      • map

        java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> map​(io.micronaut.core.annotation.AnnotationValue<T> annotation,
                                                                            VisitorContext visitorContext)
        The map method will be called for each instances of the annotation returned via this method.
        Parameters:
        annotation - The annotation values
        visitorContext - The context that is being visited
        Returns:
        A list of zero or many annotations and values to map to