@SupportedAnnotationTypes(value={"cn.mapway.document.annotation.Codes","cn.mapway.document.annotation.Code"}) @SupportedSourceVersion(value=RELEASE_5) public class CodesGeneratorProcessor extends AbstractProcessor
processingEnv| 构造器和说明 |
|---|
CodesGeneratorProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init(ProcessingEnvironment processingEnv)
初始化处理器.
|
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedpublic void init(ProcessingEnvironment processingEnv)
init 在接口中 Processorinit 在类中 AbstractProcessorprocessingEnv - the processing envpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process 在接口中 Processorprocess 在类中 AbstractProcessorCopyright © 2017. All rights reserved.