Class ToolsJsonPOJOBuilderAnnotationMapper

java.lang.Object
io.micronaut.inject.beans.visitor.ToolsJsonPOJOBuilderAnnotationMapper
All Implemented Interfaces:
Named, AnnotationMapper<Annotation>, NamedAnnotationMapper

@Internal public final class ToolsJsonPOJOBuilderAnnotationMapper extends Object
Makes Jackson builder methods visible to bean property resolution.
Since:
5.1.4
Author:
Denis Stepanov
  • Constructor Details

    • ToolsJsonPOJOBuilderAnnotationMapper

      public ToolsJsonPOJOBuilderAnnotationMapper()
  • Method Details

    • getName

      public String getName()
      Returns:
      The name of the component
    • map

      public final List<AnnotationValue<?>> map(AnnotationValue<Annotation> annotation, VisitorContext visitorContext)
      Description copied from interface: AnnotationMapper
      The map method will be called for each instances of the annotation returned via this method.
      Specified by:
      map in interface AnnotationMapper<Annotation>
      Parameters:
      annotation - The annotation values
      visitorContext - The context that is being visited
      Returns:
      A list of zero or many annotations and values to map to