Class ScopeAnnotationMapper

java.lang.Object
io.micronaut.guice.processor.ScopeAnnotationMapper
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<com.google.inject.ScopeAnnotation>, io.micronaut.inject.annotation.TypedAnnotationMapper<com.google.inject.ScopeAnnotation>

public class ScopeAnnotationMapper extends Object implements io.micronaut.inject.annotation.TypedAnnotationMapper<com.google.inject.ScopeAnnotation>
Transforms ScopeAnnotation to Scope.
  • Constructor Details

    • ScopeAnnotationMapper

      public ScopeAnnotationMapper()
  • Method Details

    • annotationType

      public Class<com.google.inject.ScopeAnnotation> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationMapper<com.google.inject.ScopeAnnotation>
    • map

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