Processor
@AutoService(javax.annotation.processing.Processor.class) public class AutoAnnotationProcessor extends AbstractProcessor
Modifier and Type | Class | Description |
---|---|---|
static class |
AutoAnnotationProcessor.Member |
|
static class |
AutoAnnotationProcessor.Parameter |
processingEnv
Constructor | Description |
---|---|
AutoAnnotationProcessor() |
Modifier and Type | Method | Description |
---|---|---|
Set<String> |
getSupportedAnnotationTypes() |
|
SourceVersion |
getSupportedSourceVersion() |
|
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, init, isInitialized
public Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes
in interface Processor
getSupportedAnnotationTypes
in class AbstractProcessor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor
Copyright © 2019 Google, Inc.. All rights reserved.