ReturnWrapperResolver
Resolves the wrapper = … argument of @MapTo / @MapFrom into a ReturnWrapper (null = no wrapper, only the plain toX() core).
KMapperWrapper.Default defers to the module-wide KSP option WRAPPER_OPTION (set by the Gradle KMapper { wrapper = … } extension), which itself defaults to KMapperWrapper.None. Built-in and user wrappers are resolved identically — from their @WrapperSuffix and wrap signatures — so a user wrapper has exactly the power of the built-ins.
Functions
Link copied to clipboard
Resolves the wrapper named by annotation's wrapper argument, reporting errors on anchor.