D
- The object type.R
- The result type@FunctionalInterface public interface BeanIntrospectionMapper<D,R> extends TypeMapper<D,R>
TypeMapper
that maps objects using a compile time computed BeanIntrospection
.Modifier and Type | Method and Description |
---|---|
default R |
map(D object,
java.lang.Class<R> type)
Map the given result set to the given object.
|
getConversionService, read
@NonNull default R map(@NonNull D object, @NonNull java.lang.Class<R> type) throws io.micronaut.core.reflect.exception.InstantiationException
TypeMapper
map
in interface TypeMapper<D,R>
object
- The object to maptype
- The typeio.micronaut.core.reflect.exception.InstantiationException