public class HeaderRetentionPolicyAnnotationTransformer
extends java.lang.Object
Constructor and Description |
---|
HeaderRetentionPolicyAnnotationTransformer()
Changes the Retention Policy of the annotation to SOURCE.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<T> |
annotationType() |
java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> |
transform(io.micronaut.core.annotation.AnnotationValue<T> annotation,
io.micronaut.inject.visitor.VisitorContext visitorContext) |
public HeaderRetentionPolicyAnnotationTransformer()
public java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> transform(io.micronaut.core.annotation.AnnotationValue<T> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
transform
in interface io.micronaut.inject.annotation.AnnotationTransformer<T extends java.lang.annotation.Annotation>
public java.lang.Class<T> annotationType()
annotationType
in interface io.micronaut.inject.annotation.TypedAnnotationTransformer<T extends java.lang.annotation.Annotation>