@SupportedOptions(value={"codegen.output","codegen.generators"}) @SupportedSourceVersion(value=RELEASE_8) public class CodeGenProcessor extends AbstractProcessor
processingEnv
Constructor and Description |
---|
CodeGenProcessor() |
Modifier and Type | Method and Description |
---|---|
protected Predicate<CodeGenerator> |
filterGenerators() |
Set<String> |
getSupportedAnnotationTypes() |
void |
init(ProcessingEnvironment processingEnv) |
protected List<CodeGenerator> |
loadGenerators() |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, getSupportedSourceVersion, isInitialized
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface Processor
getSupportedAnnotationTypes
in class AbstractProcessor
public void init(ProcessingEnvironment processingEnv)
init
in interface Processor
init
in class AbstractProcessor
protected Predicate<CodeGenerator> filterGenerators()
protected List<CodeGenerator> loadGenerators()
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
Copyright © 2017. All rights reserved.