public class Java8FunctionWrapper extends AssignmentWrapper
Assignment.AssignmentType
Writable.Context
fieldAssignment
Constructor and Description |
---|
Java8FunctionWrapper(Assignment decoratedAssignment) |
Java8FunctionWrapper(Assignment decoratedAssignment,
Type functionType) |
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() |
createUniqueVarName, getAssignment, getSourceLocalVarName, getSourceLoopVarName, getSourceParameterName, getSourcePresenceCheckerReference, getSourceReference, getSourceType, getThrownTypes, getType, isCallingUpdateMethod, isFieldAssignment, isSourceReferenceParameter, setAssignment, setSourceLocalVarName, setSourceLoopVarName
getTemplateName, getTemplateNameForClass, write
public Java8FunctionWrapper(Assignment decoratedAssignment)
public Java8FunctionWrapper(Assignment decoratedAssignment, Type functionType)
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()
true
if the wrapped assignment is
Assignment.AssignmentType#DIRECT
, false
otherwiseCopyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.