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 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:
      transform in interface io.micronaut.inject.annotation.AnnotationTransformer<ScalaInheritableSource>
    • annotationType

      public Class<ScalaInheritableSource> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationTransformer<ScalaInheritableSource>