
public class AnnotationMapperReference extends MapperReference
Writable.Context| Constructor and Description |
|---|
AnnotationMapperReference(Type type,
String variableName,
List<Annotation> annotations,
boolean isUsed,
boolean fieldFinal,
boolean includeAnnotationsOnField) |
| 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. |
boolean |
isFieldFinal() |
boolean |
isIncludeAnnotationsOnField() |
AnnotationMapperReference |
withNewAnnotations(List<Annotation> annotations) |
findMapperReferenceequals, getFieldNames, getType, getVariableName, hashCode, isTypeRequiresImport, isUsed, setTypeRequiresImport, setUsedgetTemplateName, getTemplateNameForClass, writepublic AnnotationMapperReference(Type type, String variableName, List<Annotation> annotations, boolean isUsed, boolean fieldFinal, boolean includeAnnotationsOnField)
public List<Annotation> getAnnotations()
public Set<Type> getImportTypes()
ModelElementTypes referenced by this model element for which an import statement needs
to be declared.getImportTypes in class Fieldnull.public boolean isFieldFinal()
public boolean isIncludeAnnotationsOnField()
public AnnotationMapperReference withNewAnnotations(List<Annotation> annotations)
Copyright © 2012-2019 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.