Class ScalaRepeatableSourceMapper
java.lang.Object
io.micronaut.scala.processing.test.annotation.ScalaRepeatableSourceMapper
- All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<ScalaRepeatableSource>, io.micronaut.inject.annotation.TypedAnnotationMapper<ScalaRepeatableSource>
public final class ScalaRepeatableSourceMapper
extends Object
implements io.micronaut.inject.annotation.TypedAnnotationMapper<ScalaRepeatableSource>
Maps
ScalaRepeatableSource to one Requires per name it carries.
The output is repeatable, and Scala has no way to write it twice, so this is the only route by which several entries of one annotation reach a definition without an author writing the container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<ScalaRepeatableSource> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
-
Constructor Details
-
ScalaRepeatableSourceMapper
public ScalaRepeatableSourceMapper()
-
-
Method Details
-
map
public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<ScalaRepeatableSource> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) - Specified by:
mapin interfaceio.micronaut.inject.annotation.AnnotationMapper<ScalaRepeatableSource>
-
annotationType
- Specified by:
annotationTypein interfaceio.micronaut.inject.annotation.TypedAnnotationMapper<ScalaRepeatableSource>
-