public class NoArgumentConstructor extends ModelElement implements Constructor
Writable.Context
Constructor and Description |
---|
NoArgumentConstructor(String name,
Set<SupportingConstructorFragment> fragments) |
Modifier and Type | Method and Description |
---|---|
Set<SupportingConstructorFragment> |
getFragments() |
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 |
getName() |
getTemplateName, getTemplateNameForClass, write
public NoArgumentConstructor(String name, Set<SupportingConstructorFragment> fragments)
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in interface Constructor
getImportTypes
in class ModelElement
null
.public String getName()
getName
in interface Constructor
public Set<SupportingConstructorFragment> getFragments()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.