public abstract class ValidatingAnnotationMapper
extends java.lang.Object
implements io.micronaut.inject.annotation.NamedAnnotationMapper
getSupportedMemberNames()
.Constructor and Description |
---|
ValidatingAnnotationMapper() |
Modifier and Type | Method and Description |
---|---|
protected java.util.Set<java.lang.String> |
getSupportedMemberNames() |
java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> |
map(io.micronaut.core.annotation.AnnotationValue<java.lang.annotation.Annotation> annotation,
io.micronaut.inject.visitor.VisitorContext visitorContext) |
protected abstract java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> |
mapValid(io.micronaut.core.annotation.AnnotationValue<java.lang.annotation.Annotation> annotation,
io.micronaut.inject.visitor.VisitorContext visitorContext)
The transform method will be called for each instances of the annotation returned via this method.
|
public final java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<java.lang.annotation.Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
map
in interface io.micronaut.inject.annotation.AnnotationMapper<java.lang.annotation.Annotation>
protected abstract java.util.List<io.micronaut.core.annotation.AnnotationValue<?>> mapValid(io.micronaut.core.annotation.AnnotationValue<java.lang.annotation.Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
annotation
- The annotation valuesvisitorContext
- The context that is being visited@NonNull protected java.util.Set<java.lang.String> getSupportedMemberNames()