public class SetterWrapperForCollectionsAndMapsWithNullCheck extends WrapperForCollectionsAndMaps
Assignment.AssignmentType
Writable.Context
fieldAssignment
Constructor and Description |
---|
SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment,
List<Type> thrownTypesToExclude,
Type targetType,
TypeFactory typeFactory,
boolean fieldAssignment) |
Modifier and Type | Method and Description |
---|---|
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
boolean |
isDirectAssignment() |
boolean |
isEnumSet() |
getNullCheckLocalVarName, getNullCheckLocalVarType, getThrownTypes
createUniqueVarName, getAssignment, getSourceLocalVarName, getSourceLoopVarName, getSourceParameterName, getSourcePresenceCheckerReference, getSourceReference, getSourceType, getType, isCallingUpdateMethod, isFieldAssignment, isSourceReferenceParameter, setAssignment, setSourceLocalVarName, setSourceLoopVarName
getTemplateName, getTemplateNameForClass, write
public SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in interface Assignment
getImportTypes
in class AssignmentWrapper
null
.public boolean isDirectAssignment()
public boolean isEnumSet()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.