
public class ExistingInstanceSetterWrapperForCollectionsAndMaps extends SetterWrapperForCollectionsAndMapsWithNullCheck
MappingTargetbefore adding the source entries.
If there is no pre-existing target, or the target Collection / Map is not initialized (null) the setter is used to
create a new Collection / Map with the copy constructor.Assignment.AssignmentTypeWritable.ContextfieldAssignment| Constructor and Description |
|---|
ExistingInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Type targetType,
org.mapstruct.ap.internal.prism.NullValueCheckStrategyPrism nvms,
TypeFactory typeFactory,
boolean fieldAssignment,
boolean mapNullToDefault) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIncludeSourceNullCheck() |
getImportTypes, isDirectAssignment, isEnumSet, isMapNullToDefaultgetNullCheckLocalVarName, getNullCheckLocalVarType, getThrownTypescreateLocalVarName, getAssignment, getSourceLocalVarName, getSourceParameterName, getSourcePresenceCheckerReference, getSourceReference, getSourceType, getType, isCallingUpdateMethod, isFieldAssignment, isSourceReferenceParameter, setAssignment, setSourceLocalVarNamegetTemplateName, getTemplateNameForClass, writepublic ExistingInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, org.mapstruct.ap.internal.prism.NullValueCheckStrategyPrism nvms, TypeFactory typeFactory, boolean fieldAssignment, boolean mapNullToDefault)
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.