public class EnumConstantWrapper extends AssignmentWrapper
Assignment.AssignmentType
Writable.Context
fieldAssignment
Constructor and Description |
---|
EnumConstantWrapper(Assignment decoratedAssignment,
Type enumType) |
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. |
String |
toString() |
createUniqueVarName, getAssignment, getSourceLocalVarName, getSourceLoopVarName, getSourceParameterName, getSourcePresenceCheckerReference, getSourceReference, getSourceType, getThrownTypes, getType, isCallingUpdateMethod, isFieldAssignment, isSourceReferenceParameter, setAssignment, setSourceLocalVarName, setSourceLoopVarName
getTemplateName, getTemplateNameForClass, write
public EnumConstantWrapper(Assignment decoratedAssignment, Type enumType)
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.