public class AnnotationMapperReference extends MapperReference
Writable.Context
Constructor and Description |
---|
AnnotationMapperReference(Type type,
String variableName,
List<Annotation> annotations,
boolean isUsed) |
Modifier and Type | Method and Description |
---|---|
List<Annotation> |
getAnnotations() |
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
getType, getVariableName, isTypeRequiresImport, isUsed, setTypeRequiresImport, setUsed
write
getTemplateName, getTemplateNameForClass
public AnnotationMapperReference(Type type, String variableName, List<Annotation> annotations, boolean isUsed)
public List<Annotation> getAnnotations()
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class Field
null
.Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.