public class AnnotatedConstructor extends ModelElement implements Constructor
Writable.Context| Constructor and Description |
|---|
AnnotatedConstructor(String name,
List<AnnotationMapperReference> mapperReferences,
List<Annotation> annotations,
boolean publicEmptyConstructor) |
| Modifier and Type | Method and Description |
|---|---|
List<Annotation> |
getAnnotations() |
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() |
boolean |
isPublicEmptyConstructor() |
getTemplateName, getTemplateNameForClass, writepublic AnnotatedConstructor(String name, List<AnnotationMapperReference> mapperReferences, List<Annotation> annotations, boolean publicEmptyConstructor)
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 boolean isPublicEmptyConstructor()
Copyright © 2012–2018. All rights reserved.