
public class AnnotatedConstructor extends ModelElement implements Constructor
Writable.Context| Modifier and Type | Method and Description |
|---|---|
static AnnotatedConstructor |
forComponentModels(String name,
List<AnnotationMapperReference> mapperReferences,
List<Annotation> annotations,
Constructor constructor,
boolean includeNoArgConstructor) |
List<Annotation> |
getAnnotations() |
Set<SupportingConstructorFragment> |
getFragments() |
Set<Type> |
getImportTypes()
Returns a set containing those
Types referenced by this model element for which an import statement needs
to be declared. |
List<AnnotationMapperReference> |
getMapperReferences() |
String |
getName() |
NoArgumentConstructor |
getNoArgumentConstructor() |
getTemplateName, getTemplateNameForClass, writepublic static AnnotatedConstructor forComponentModels(String name, List<AnnotationMapperReference> mapperReferences, List<Annotation> annotations, Constructor constructor, boolean includeNoArgConstructor)
public Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in interface ConstructorgetImportTypes in class ModelElementnull.public String getName()
getName in interface Constructorpublic List<AnnotationMapperReference> getMapperReferences()
public List<Annotation> getAnnotations()
public NoArgumentConstructor getNoArgumentConstructor()
public Set<SupportingConstructorFragment> getFragments()
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.