Class TransientMapper

java.lang.Object
io.micronaut.data.document.processor.mapper.TransientMapper
All Implemented Interfaces:
io.micronaut.inject.annotation.AnnotationMapper<Transient>, io.micronaut.inject.annotation.TypedAnnotationMapper<Transient>

public class TransientMapper extends Object implements io.micronaut.inject.annotation.TypedAnnotationMapper<Transient>
Serdeable mapper of Transient which marks fields annotated with Transient as serde ignored.
Author:
radovanradic
  • Constructor Details

    • TransientMapper

      public TransientMapper()
  • Method Details

    • annotationType

      public Class<Transient> annotationType()
      Specified by:
      annotationType in interface io.micronaut.inject.annotation.TypedAnnotationMapper<Transient>
    • map

      public List<io.micronaut.core.annotation.AnnotationValue<?>> map(io.micronaut.core.annotation.AnnotationValue<Transient> annotation, io.micronaut.inject.visitor.VisitorContext visitorContext)
      Specified by:
      map in interface io.micronaut.inject.annotation.AnnotationMapper<Transient>