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.
|
org.mapstruct.ap.internal.processor.creation |
Contains all helper classes for the
MapperCreationProcessor
|
Modifier and Type | Method and Description |
---|---|
static List<LifecycleCallbackMethodReference> |
LifecycleCallbackFactory.afterMappingMethods(Method method,
SelectionParameters selectionParameters,
MappingBuilderContext ctx,
Set<String> existingVariableNames) |
static List<LifecycleCallbackMethodReference> |
LifecycleCallbackFactory.beforeMappingMethods(Method method,
SelectionParameters selectionParameters,
MappingBuilderContext ctx,
Set<String> existingVariableNames) |
MethodReference |
MappingBuilderContext.MappingResolver.getFactoryMethod(Method mappingMethod,
Type target,
SelectionParameters selectionParameters)
returns a no arg factory method
|
Assignment |
MappingBuilderContext.MappingResolver.getTargetAssignment(Method mappingMethod,
Type targetType,
String targetPropertyName,
FormattingParameters formattingParameters,
SelectionParameters selectionParameters,
SourceRHS sourceRHS,
boolean preferUpdateMethods)
returns a parameter assignment
|
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) |
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 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) |
MapMappingMethod.Builder |
MapMappingMethod.Builder.keySelectionParameters(SelectionParameters keySelectionParameters) |
BeanMappingMethod.Builder |
BeanMappingMethod.Builder.selectionParameters(SelectionParameters selectionParameters) |
B |
ContainerMappingMethodBuilder.selectionParameters(SelectionParameters selectionParameters) |
PropertyMapping.PropertyMappingBuilder |
PropertyMapping.PropertyMappingBuilder.selectionParameters(SelectionParameters selectionParameters) |
PropertyMapping.ConstantMappingBuilder |
PropertyMapping.ConstantMappingBuilder.selectionParameters(SelectionParameters selectionParameters) |
MapMappingMethod.Builder |
MapMappingMethod.Builder.valueSelectionParameters(SelectionParameters valueSelectionParameters) |
Modifier and Type | Method and Description |
---|---|
static SelectionParameters |
SelectionParameters.forSourceRHS(SourceRHS sourceRHS) |
SelectionParameters |
MapMapping.getKeySelectionParameters() |
SelectionParameters |
BeanMapping.getSelectionParameters() |
SelectionParameters |
IterableMapping.getSelectionParameters() |
SelectionParameters |
Mapping.getSelectionParameters() |
SelectionParameters |
MapMapping.getValueSelectionParameters() |
Modifier and Type | Method and Description |
---|---|
static SelectionCriteria |
SelectionCriteria.forFactoryMethods(SelectionParameters selectionParameters) |
static SelectionCriteria |
SelectionCriteria.forLifecycleMethods(SelectionParameters selectionParameters) |
static SelectionCriteria |
SelectionCriteria.forMappingMethods(SelectionParameters selectionParameters,
String targetPropertyName,
boolean preferUpdateMapping) |
Constructor and Description |
---|
SelectionCriteria(SelectionParameters selectionParameters,
String targetPropertyName,
boolean preferUpdateMapping,
boolean objectFactoryRequired,
boolean lifecycleCallbackRequired) |
Modifier and Type | Method and Description |
---|---|
MethodReference |
MappingResolverImpl.getFactoryMethod(Method mappingMethod,
Type targetType,
SelectionParameters selectionParameters) |
Assignment |
MappingResolverImpl.getTargetAssignment(Method mappingMethod,
Type targetType,
String targetPropertyName,
FormattingParameters formattingParameters,
SelectionParameters selectionParameters,
SourceRHS sourceRHS,
boolean preferUpdateMapping) |
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.