@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, isInitializedpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorprotected Predicate<CodeGenerator> filterGenerators()
protected List<CodeGenerator> loadGenerators()
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorCopyright © 2017. All rights reserved.