Interface TypedAnnotationMapper<T extends Annotation>

Type Parameters:
T - The annotation type.
All Superinterfaces:
AnnotationMapper<T>
All Known Implementing Classes:
InterceptorBeanMapper, MapperAnnotationMapper

public interface TypedAnnotationMapper<T extends Annotation> extends AnnotationMapper<T>
A typed AnnotationMapper operates against a concrete annotation type. Mapper implementations that implement this class require the annotations to exist on the annotation processor classpath. If this is problematic consider NamedAnnotationMapper.
  • Method Summary

    Modifier and Type
    Method
    Description
    The annotation type to be mapped.

    Methods inherited from interface io.micronaut.inject.annotation.AnnotationMapper

    map
  • Method Details

    • annotationType

      Class<T> annotationType()
      The annotation type to be mapped.
      Returns:
      The annotation type