public class Annotation extends ModelElement
Writable.Context
Constructor and Description |
---|
Annotation(Type type) |
Annotation(Type type,
List<String> properties) |
Modifier and Type | Method and Description |
---|---|
Set<Type> |
getImportTypes()
Returns a set containing those
Type s referenced by this model element for which an import statement needs
to be declared. |
List<String> |
getProperties() |
Type |
getType() |
getTemplateName, getTemplateNameForClass, write
public Annotation(Type type)
public Type getType()
public Set<Type> getImportTypes()
ModelElement
Type
s referenced by this model element for which an import statement needs
to be declared.getImportTypes
in class ModelElement
null
.Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.