public class AdderWrapper extends AssignmentWrapper
Assignment.AssignmentType
Writable.Context
fieldAssignment
Constructor and Description |
---|
AdderWrapper(Assignment rhs,
List<Type> thrownTypesToExclude,
boolean fieldAssignment,
String adderIteratorName) |
Modifier and Type | Method and Description |
---|---|
Type |
getAdderType() |
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
List<Type> |
getThrownTypes()
returns all types exception types thrown by this assignment.
|
boolean |
isIncludeSourceNullCheck() |
boolean |
isSetExplicitlyToDefault() |
boolean |
isSetExplicitlyToNull() |
createUniqueVarName, getAssignment, getSourceLocalVarName, getSourceLoopVarName, getSourceParameterName, getSourcePresenceCheckerReference, getSourceReference, getSourceType, getType, isCallingUpdateMethod, isFieldAssignment, isSourceReferenceParameter, setAssignment, setSourceLocalVarName, setSourceLoopVarName
getTemplateName, getTemplateNameForClass, write
public AdderWrapper(Assignment rhs, List<Type> thrownTypesToExclude, boolean fieldAssignment, String adderIteratorName)
public List<Type> getThrownTypes()
Assignment
getThrownTypes
in interface Assignment
getThrownTypes
in class AssignmentWrapper
public Type getAdderType()
public boolean isIncludeSourceNullCheck()
public boolean isSetExplicitlyToNull()
public boolean isSetExplicitlyToDefault()
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
.Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.