Class CountedAnnotationMapper

java.lang.Object
io.micronaut.micrometer.annotation.processing.CountedAnnotationMapper
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<io.micrometer.core.annotation.Counted>, io.micronaut.inject.annotation.TypedAnnotationMapper<io.micrometer.core.annotation.Counted>

public class CountedAnnotationMapper extends Object implements io.micronaut.inject.annotation.TypedAnnotationMapper<io.micrometer.core.annotation.Counted>
Adds interceptor binding to Counted.
Since:
3.4.0
Author:
graemerocher
  • Constructor Details

    • CountedAnnotationMapper

      public CountedAnnotationMapper()
  • Method Details

    • annotationType

      public Class<io.micrometer.core.annotation.Counted> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationMapper<io.micrometer.core.annotation.Counted>
    • map

      public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<io.micrometer.core.annotation.Counted> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
      Specified by:
      map in interface io.micronaut.inject.annotation.AnnotationMapper<io.micrometer.core.annotation.Counted>