Class SingletonTransformer

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

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

    • SingletonTransformer

      public SingletonTransformer()
  • Method Details

    • annotationType

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

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