Package org.mapstruct.ap.internal.model
Class StreamMappingMethod.Builder
- java.lang.Object
-
- org.mapstruct.ap.internal.model.AbstractMappingMethodBuilder<B,M>
-
- org.mapstruct.ap.internal.model.ContainerMappingMethodBuilder<StreamMappingMethod.Builder,StreamMappingMethod>
-
- org.mapstruct.ap.internal.model.StreamMappingMethod.Builder
-
- Enclosing class:
- StreamMappingMethod
public static class StreamMappingMethod.Builder extends ContainerMappingMethodBuilder<StreamMappingMethod.Builder,StreamMappingMethod>
-
-
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 StreamMappingMethod
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<StreamMappingMethod.Builder,StreamMappingMethod>
-
getWrapper
protected Assignment getWrapper(Assignment assignment, Method method)
- Specified by:
getWrapper
in classContainerMappingMethodBuilder<StreamMappingMethod.Builder,StreamMappingMethod>
-
instantiateMappingMethod
protected StreamMappingMethod 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<StreamMappingMethod.Builder,StreamMappingMethod>
-
mappingContext
public B mappingContext(MappingBuilderContext mappingContext)
-
-