Class ScalaClasspathOnlySourceMapper
java.lang.Object
io.micronaut.scala.processing.test.annotation.ScalaClasspathOnlySourceMapper
- All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<ScalaClasspathOnlySource>, io.micronaut.inject.annotation.TypedAnnotationMapper<ScalaClasspathOnlySource>
public final class ScalaClasspathOnlySourceMapper
extends Object
implements io.micronaut.inject.annotation.TypedAnnotationMapper<ScalaClasspathOnlySource>
Mapper for
ScalaClasspathOnlySource. Deliberately absent from this harness's
META-INF/services: the plugin loads its annotation services once for the JVM through
the loader that loaded it, and in this harness that loader sees the whole test classpath, so
a mapper registered here could never show whether one registered only on the compilation
classpath is applied.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<ScalaClasspathOnlySource> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
-
Constructor Details
-
ScalaClasspathOnlySourceMapper
public ScalaClasspathOnlySourceMapper()
-
-
Method Details
-
map
public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<ScalaClasspathOnlySource> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) - Specified by:
mapin interfaceio.micronaut.inject.annotation.AnnotationMapper<ScalaClasspathOnlySource>
-
annotationType
- Specified by:
annotationTypein interfaceio.micronaut.inject.annotation.TypedAnnotationMapper<ScalaClasspathOnlySource>
-