@AutoService(value=javax.annotation.processing.Processor.class) @SupportedAnnotationTypes(value={"com.aeuok.mlog.ann.MLog","com.aeuok.mlog.ann.HandleClass","com.aeuok.mlog.ann.GlobalHandleClass"}) public class MLogProcessor extends AbstractProcessor
processingEnv| 构造器和说明 |
|---|
MLogProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitializedpublic void init(ProcessingEnvironment processingEnv)
init 在接口中 Processorinit 在类中 AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process 在接口中 Processorprocess 在类中 AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion 在接口中 ProcessorgetSupportedSourceVersion 在类中 AbstractProcessorCopyright © 2019. All rights reserved.