public class WithSpanAnnotationTransformer
extends java.lang.Object
implements io.micronaut.inject.annotation.TypedAnnotationTransformer<io.opentelemetry.instrumentation.annotations.WithSpan>
WithSpan
and adds NewSpan
to it.Constructor and Description |
---|
WithSpanAnnotationTransformer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<io.opentelemetry.instrumentation.annotations.WithSpan> |
annotationType() |
java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> |
transform(io.micronaut.core.annotation.AnnotationValue<io.opentelemetry.instrumentation.annotations.WithSpan> annotation,
io.micronaut.inject.visitor.VisitorContext visitorContext) |
public java.lang.Class<io.opentelemetry.instrumentation.annotations.WithSpan> annotationType()
annotationType
in interface io.micronaut.inject.annotation.TypedAnnotationTransformer<io.opentelemetry.instrumentation.annotations.WithSpan>
public java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> transform(io.micronaut.core.annotation.AnnotationValue<io.opentelemetry.instrumentation.annotations.WithSpan> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
transform
in interface io.micronaut.inject.annotation.AnnotationTransformer<io.opentelemetry.instrumentation.annotations.WithSpan>