public static interface MappingBuilderContext.MappingResolver
Modifier and Type | Method and Description |
---|---|
Assignment |
getTargetAssignment(Method mappingMethod,
ForgedMethodHistory description,
Type targetType,
FormattingParameters formattingParameters,
SelectionCriteria criteria,
SourceRHS sourceRHS,
AnnotationMirror positionHint,
Supplier<Assignment> forger)
returns a parameter assignment
|
Set<SupportingMappingMethod> |
getUsedSupportedMappings() |
Assignment getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)
mappingMethod
- target mapping methoddescription
- targetType
- return type to matchformattingParameters
- used for formatting dates and numberscriteria
- parameters criteria in the selection processsourceRHS
- source informationpositionHint
- the mirror for reporting problemsSet<SupportingMappingMethod> getUsedSupportedMappings()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.