Class JsonSetterMapper
java.lang.Object
io.micronaut.serde.processor.jackson.ValidatingAnnotationMapper
io.micronaut.serde.processor.jackson.JsonSetterMapper
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,io.micronaut.inject.annotation.AnnotationMapper<Annotation>
,io.micronaut.inject.annotation.NamedAnnotationMapper
Transformer for JsonSetter.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
protected List<io.micronaut.core.annotation.AnnotationValue<?>>
mapValid
(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) The transform method will be called for each instances of the annotation returned via this method.Methods inherited from class io.micronaut.serde.processor.jackson.ValidatingAnnotationMapper
map
-
Constructor Details
-
JsonSetterMapper
public JsonSetterMapper()
-
-
Method Details
-
getSupportedMemberNames
- Overrides:
getSupportedMemberNames
in classValidatingAnnotationMapper
- Returns:
- The set of annotation member names that are supported.
-
mapValid
protected List<io.micronaut.core.annotation.AnnotationValue<?>> mapValid(io.micronaut.core.annotation.AnnotationValue<Annotation> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext) Description copied from class:ValidatingAnnotationMapper
The transform method will be called for each instances of the annotation returned via this method.- Specified by:
mapValid
in classValidatingAnnotationMapper
- Parameters:
annotation
- The annotation valuesvisitorContext
- The context that is being visited- Returns:
- A list of zero or many annotations and values to map to
-
getName
-