Class InjectTransformer

java.lang.Object
io.micronaut.guice.processor.InjectTransformer
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationTransformer<com.google.inject.Inject>, io.micronaut.inject.annotation.TypedAnnotationTransformer<com.google.inject.Inject>

public class InjectTransformer extends Object implements io.micronaut.inject.annotation.TypedAnnotationTransformer<com.google.inject.Inject>
Transforms Inject to Inject.
  • Constructor Details

    • InjectTransformer

      public InjectTransformer()
  • Method Details

    • annotationType

      public Class<com.google.inject.Inject> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationTransformer<com.google.inject.Inject>
    • transform

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