Class ScalaInheritableSourceTransformer
java.lang.Object
io.micronaut.scala.processing.test.annotation.ScalaInheritableSourceTransformer
- All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationTransformer<ScalaInheritableSource>, io.micronaut.inject.annotation.TypedAnnotationTransformer<ScalaInheritableSource>
public final class ScalaInheritableSourceTransformer
extends Object
implements io.micronaut.inject.annotation.TypedAnnotationTransformer<ScalaInheritableSource>
Transformer that replaces
ScalaInheritableSource with a result carrying
Inherited as a stereotype, so what the transformer produces -- and not only what the
author wrote -- decides whether the annotation crosses an inheritance edge.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<io.micronaut.core.annotation.AnnotationValue<?>> transform(io.micronaut.core.annotation.AnnotationValue<ScalaInheritableSource> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
-
Constructor Details
-
ScalaInheritableSourceTransformer
public ScalaInheritableSourceTransformer()
-
-
Method Details
-
transform
public List<io.micronaut.core.annotation.AnnotationValue<?>> transform(io.micronaut.core.annotation.AnnotationValue<ScalaInheritableSource> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) - Specified by:
transformin interfaceio.micronaut.inject.annotation.AnnotationTransformer<ScalaInheritableSource>
-
annotationType
- Specified by:
annotationTypein interfaceio.micronaut.inject.annotation.TypedAnnotationTransformer<ScalaInheritableSource>
-