
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
Types referenced by this model element for which an import statement needs
to be declared. |
equals, getType, getVariableName, hashCode, isTypeRequiresImport, isUsed, setTypeRequiresImport, setUsedgetTemplateName, getTemplateNameForClass, writepublic AnnotationMapperReference(Type type, String variableName, List<Annotation> annotations, boolean isUsed)
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.Copyright © 2012-2017 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.