Package io.micronaut.guice.processor
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 Summary
-
Method Summary
-
Constructor Details
-
SingletonTransformer
public SingletonTransformer()
-
-
Method Details
-
annotationType
- Specified by:
annotationType
in interfaceio.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 interfaceio.micronaut.inject.annotation.AnnotationTransformer<com.google.inject.Singleton>
-