public class Decorator extends GeneratedType
Writable.Context| Modifier and Type | Method and Description |
|---|---|
static Decorator |
getInstance(javax.lang.model.util.Elements elementUtils,
TypeFactory typeFactory,
javax.lang.model.element.TypeElement mapperElement,
DecoratedWithPrism decoratorPrism,
java.util.List<MappingMethod> methods,
boolean hasDelegateConstructor,
boolean suppressGeneratorTimestamp) |
protected java.lang.String |
getTemplateName()
Returns the name of the template to be used for a specific writable type.
|
addAnnotation, getAccessibility, getAnnotations, getFields, getImportTypes, getInterfaceName, getMethods, getName, getPackageName, getSuperClassName, isSuppressGeneratorTimestampwritepublic static Decorator getInstance(javax.lang.model.util.Elements elementUtils, TypeFactory typeFactory, javax.lang.model.element.TypeElement mapperElement, DecoratedWithPrism decoratorPrism, java.util.List<MappingMethod> methods, boolean hasDelegateConstructor, boolean suppressGeneratorTimestamp)
protected java.lang.String getTemplateName()
FreeMarkerWritable*.ftl is used as template file name,
but this can be customized by overriding this method if required.getTemplateName in class FreeMarkerWritablenull.Copyright © 2012-2014. All Rights Reserved.