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,
boolean mapNullToDefault) |
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() |
boolean |
isMapNullToDefault() |
getNullCheckLocalVarName, getNullCheckLocalVarType, getThrownTypes
createLocalVarName, getAssignment, getSourceLocalVarName, getSourceParameterName, getSourcePresenceCheckerReference, getSourceReference, getSourceType, getType, isCallingUpdateMethod, isFieldAssignment, isSourceReferenceParameter, setAssignment, setSourceLocalVarName
getTemplateName, getTemplateNameForClass, write
public SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment, boolean mapNullToDefault)
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()
public boolean isMapNullToDefault()
Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.