Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
org.mapstruct.ap.internal.model.source.selector |
Provides strategies for selecting a matching mapping or factory method when mapping from one attribute to another
or instantiating the target type of a mapping method, respectively.
|
org.mapstruct.ap.internal.processor.creation |
Contains all helper classes for the
MapperCreationProcessor
|
Modifier and Type | Method and Description |
---|---|
Assignment |
MappingBuilderContext.MappingResolver.getTargetAssignment(Method mappingMethod,
ForgedMethodHistory description,
Type targetType,
FormattingParameters formattingParameters,
SelectionCriteria criteria,
SourceRHS sourceRHS,
AnnotationMirror positionHint,
Supplier<Assignment> forger)
returns a parameter assignment
|
Modifier and Type | Method and Description |
---|---|
static SelectionCriteria |
SelectionCriteria.forFactoryMethods(SelectionParameters selectionParameters) |
static SelectionCriteria |
SelectionCriteria.forLifecycleMethods(SelectionParameters selectionParameters) |
static SelectionCriteria |
SelectionCriteria.forMappingMethods(SelectionParameters selectionParameters,
MappingControl mappingControl,
String targetPropertyName,
boolean preferUpdateMapping) |
Modifier and Type | Method and Description |
---|---|
<T extends Method> |
TypeSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TargetTypeSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
FactoryParameterSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
XmlElementDeclSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
QualifierSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
MethodFamilySelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
CreateOrUpdateSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
InheritanceSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
MethodSelectors.getMatchingMethods(Method mappingMethod,
List<T> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria)
Selects those methods which match the given types and other criteria
|
Modifier and Type | Method and Description |
---|---|
Assignment |
MappingResolverImpl.getTargetAssignment(Method mappingMethod,
ForgedMethodHistory description,
Type targetType,
FormattingParameters formattingParameters,
SelectionCriteria criteria,
SourceRHS sourceRHS,
AnnotationMirror positionHint,
Supplier<Assignment> forger) |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.