Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
org.mapstruct.ap.internal.model.source |
Intermediary representation of mapping methods as retrieved from via the annotation processing API.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static List<LifecycleCallbackMethodReference> |
LifecycleMethodResolver.afterMappingMethods(Method method,
SelectionParameters selectionParameters,
MappingBuilderContext ctx,
Set<String> existingVariableNames) |
static List<LifecycleCallbackMethodReference> |
LifecycleMethodResolver.afterMappingMethods(Method method,
Type alternativeTarget,
SelectionParameters selectionParameters,
MappingBuilderContext ctx,
Set<String> existingVariableNames) |
static List<LifecycleCallbackMethodReference> |
LifecycleMethodResolver.beforeMappingMethods(Method method,
SelectionParameters selectionParameters,
MappingBuilderContext ctx,
Set<String> existingVariableNames) |
static List<LifecycleCallbackMethodReference> |
LifecycleMethodResolver.beforeMappingMethods(Method method,
Type alternativeTarget,
SelectionParameters selectionParameters,
MappingBuilderContext ctx,
Set<String> existingVariableNames) |
static MethodReference |
ObjectFactoryMethodResolver.getFactoryMethod(Method method,
SelectionParameters selectionParameters,
MappingBuilderContext ctx)
returns a no arg factory method
|
static MethodReference |
ObjectFactoryMethodResolver.getFactoryMethod(Method method,
Type alternativeTarget,
SelectionParameters selectionParameters,
MappingBuilderContext ctx)
returns a no arg factory method
|
static List<SelectedMethod<SourceMethod>> |
ObjectFactoryMethodResolver.getMatchingFactoryMethods(Method method,
Type alternativeTarget,
SelectionParameters selectionParameters,
MappingBuilderContext ctx) |
protected StreamMappingMethod |
StreamMappingMethod.Builder.instantiateMappingMethod(Method method,
Collection<String> existingVariables,
Assignment assignment,
MethodReference factoryMethod,
boolean mapNullToDefault,
String loopVariableName,
List<LifecycleCallbackMethodReference> beforeMappingMethods,
List<LifecycleCallbackMethodReference> afterMappingMethods,
SelectionParameters selectionParameters) |
protected IterableMappingMethod |
IterableMappingMethod.Builder.instantiateMappingMethod(Method method,
Collection<String> existingVariables,
Assignment assignment,
MethodReference factoryMethod,
boolean mapNullToDefault,
String loopVariableName,
List<LifecycleCallbackMethodReference> beforeMappingMethods,
List<LifecycleCallbackMethodReference> afterMappingMethods,
SelectionParameters selectionParameters) |
protected abstract M |
ContainerMappingMethodBuilder.instantiateMappingMethod(Method method,
Collection<String> existingVariables,
Assignment assignment,
MethodReference factoryMethod,
boolean mapNullToDefault,
String loopVariableName,
List<LifecycleCallbackMethodReference> beforeMappingMethods,
List<LifecycleCallbackMethodReference> afterMappingMethods,
SelectionParameters selectionParameters) |
MapMappingMethod.Builder |
MapMappingMethod.Builder.keySelectionParameters(SelectionParameters keySelectionParameters) |
PropertyMapping.PropertyMappingBuilder |
PropertyMapping.PropertyMappingBuilder.selectionParameters(SelectionParameters selectionParameters) |
PropertyMapping.ConstantMappingBuilder |
PropertyMapping.ConstantMappingBuilder.selectionParameters(SelectionParameters selectionParameters) |
B |
ContainerMappingMethodBuilder.selectionParameters(SelectionParameters selectionParameters) |
MapMappingMethod.Builder |
MapMappingMethod.Builder.valueSelectionParameters(SelectionParameters valueSelectionParameters) |
Modifier and Type | Method and Description |
---|---|
static SelectionParameters |
SelectionParameters.forInheritance(SelectionParameters selectionParameters)
Returns new selection parameters
ResultType is not inherited.
|
static SelectionParameters |
SelectionParameters.forSourceRHS(SourceRHS sourceRHS) |
SelectionParameters |
MapMappingOptions.getKeySelectionParameters() |
SelectionParameters |
IterableMappingOptions.getSelectionParameters() |
SelectionParameters |
MappingOptions.getSelectionParameters() |
SelectionParameters |
BeanMappingOptions.getSelectionParameters() |
SelectionParameters |
MapMappingOptions.getValueSelectionParameters() |
Modifier and Type | Method and Description |
---|---|
static SelectionParameters |
SelectionParameters.forInheritance(SelectionParameters selectionParameters)
Returns new selection parameters
ResultType is not inherited.
|
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) |
Constructor and Description |
---|
SelectionCriteria(SelectionParameters selectionParameters,
MappingControl mappingControl,
String targetPropertyName,
boolean preferUpdateMapping,
boolean objectFactoryRequired,
boolean lifecycleCallbackRequired) |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.