@SupportedAnnotationTypes(value="com.hazelcast.annotation.GenerateCodec") @SupportedSourceVersion(value=RELEASE_6) public class CodecCodeGenerator extends AbstractProcessor
processingEnv
Constructor and Description |
---|
CodecCodeGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
generateCodec(CodecModel codecModel,
freemarker.template.Template codecTemplate) |
void |
init(ProcessingEnvironment env) |
boolean |
process(Set<? extends TypeElement> elements,
RoundEnvironment env) |
static void |
setUtilModel(Map modelMap) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
public void init(ProcessingEnvironment env)
init
in interface Processor
init
in class AbstractProcessor
public boolean process(Set<? extends TypeElement> elements, RoundEnvironment env)
process
in interface Processor
process
in class AbstractProcessor
public void generateCodec(CodecModel codecModel, freemarker.template.Template codecTemplate)
public static void setUtilModel(Map modelMap) throws freemarker.template.TemplateModelException
freemarker.template.TemplateModelException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.