DOC
- the document typeT
- the codegen model type@FunctionalInterface public interface TranslatorDecorator<DOC extends HasName & HasMainInterface,T extends ClassOrInterface<T>>
Translator
before it used used. This is useful for adding
additional generation logic to a translator.Modifier and Type | Method and Description |
---|---|
void |
apply(JavaClassTranslator<DOC,T> translator)
Decorates the specified
Translator . |
void apply(JavaClassTranslator<DOC,T> translator)
Translator
.translator
- the translator to decorateCopyright © 2016 Speedment, Inc.. All rights reserved.