@SupportedOptions(value={"codegen.output","codegen.generators"}) @SupportedSourceVersion(value=RELEASE_8) public class CodeGenProcessor extends AbstractProcessor
| Modifier and Type | Field and Description |
|---|---|
static Logger |
log |
processingEnv| Constructor and Description |
|---|
CodeGenProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getSupportedAnnotationTypes() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, getSupportedSourceVersion, isInitializedpublic static final Logger log
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorCopyright © 2020. All rights reserved.