Class ImportAnnotationMapper

java.lang.Object
io.micronaut.spring.annotation.beans.ImportAnnotationMapper
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<org.springframework.context.annotation.Import>, io.micronaut.inject.annotation.TypedAnnotationMapper<org.springframework.context.annotation.Import>

@Internal public final class ImportAnnotationMapper extends Object implements io.micronaut.inject.annotation.TypedAnnotationMapper<org.springframework.context.annotation.Import>
Maps io.micronaut.spring.beans.SpringImport to Micronaut Framework Import annotation.
Since:
4.3.0
Author:
graemerocher
  • Constructor Details

    • ImportAnnotationMapper

      public ImportAnnotationMapper()
  • Method Details

    • annotationType

      public Class<org.springframework.context.annotation.Import> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationMapper<org.springframework.context.annotation.Import>
    • map

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