Package org.mapstruct.ap.internal.model
Class IterableMappingMethod.Builder
- java.lang.Object
-
- org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder<B,M>
-
- org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
-
- org.mapstruct.ap.internal.model.IterableMappingMethod.Builder
-
- Enclosing class:
- IterableMappingMethod
public static class IterableMappingMethod.Builder extends ContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder
build, callingContextTargetPropertyName, formattingParameters, positionHint, selectionParameters, shouldUsePropertyNamesInHistory
-
Methods inherited from class org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder
getDescription, getMethodAnnotations
-
-
-
-
Field Detail
-
myself
protected B extends org.mapstruct.ap.internal.model.AbstractBaseBuilder<B> myself
-
ctx
protected MappingBuilderContext ctx
-
method
protected Method method
-
-
Method Detail
-
getElementType
protected Type getElementType(Type parameterType)
- Specified by:
getElementType
in classContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
-
getWrapper
protected Assignment getWrapper(Assignment assignment, Method method)
- Specified by:
getWrapper
in classContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
-
instantiateMappingMethod
protected IterableMappingMethod instantiateMappingMethod(Method method, Collection<String> existingVariables, Assignment assignment, MethodReference factoryMethod, boolean mapNullToDefault, String loopVariableName, List<LifecycleCallbackMethodReference> beforeMappingMethods, List<LifecycleCallbackMethodReference> afterMappingMethods, SelectionParameters selectionParameters)
- Specified by:
instantiateMappingMethod
in classContainerMappingMethodBuilder<IterableMappingMethod.Builder,IterableMappingMethod>
-
mappingContext
public B mappingContext(MappingBuilderContext mappingContext)
-
-