public static class IterableMappingMethod.Builder extends ContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
Modifier and Type | Field and Description |
---|---|
protected MappingBuilderContext |
ctx |
protected Method |
method |
protected B |
myself |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
protected Type |
getElementType(Type parameterType) |
protected Assignment |
getWrapper(Assignment assignment,
Method method) |
protected IterableMappingMethod |
instantiateMappingMethod(Method method,
Collection<String> existingVariables,
Assignment assignment,
MethodReference factoryMethod,
boolean mapNullToDefault,
String loopVariableName,
List<LifecycleCallbackMethodReference> beforeMappingMethods,
List<LifecycleCallbackMethodReference> afterMappingMethods,
SelectionParameters selectionParameters) |
B |
mappingContext(MappingBuilderContext mappingContext) |
B |
method(Method sourceMethod) |
build, callingContextTargetPropertyName, formattingParameters, positionHint, selectionParameters, shouldUsePropertyNamesInHistory
getDescription
protected B extends org.mapstruct.ap.internal.model.AbstractBaseBuilder<B> myself
protected MappingBuilderContext ctx
protected Method method
protected Type getElementType(Type parameterType)
getElementType
in class ContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
protected Assignment getWrapper(Assignment assignment, Method method)
getWrapper
in class ContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
protected IterableMappingMethod instantiateMappingMethod(Method method, Collection<String> existingVariables, Assignment assignment, MethodReference factoryMethod, boolean mapNullToDefault, String loopVariableName, List<LifecycleCallbackMethodReference> beforeMappingMethods, List<LifecycleCallbackMethodReference> afterMappingMethods, SelectionParameters selectionParameters)
instantiateMappingMethod
in class ContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
public B mappingContext(MappingBuilderContext mappingContext)
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.