public class MotanAsyncProcessor extends AbstractProcessor
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
ASYNC |
protected static String |
GENERATE_PATH_KEY |
protected static String |
TARGET_DIR |
processingEnv| 构造器和说明 |
|---|
MotanAsyncProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
Set<String> |
getSupportedAnnotationTypes() |
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedOptions, isInitializedprotected static String ASYNC
protected static String GENERATE_PATH_KEY
protected static String TARGET_DIR
public void init(ProcessingEnvironment processingEnv)
init 在接口中 Processorinit 在类中 AbstractProcessorpublic SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion 在接口中 ProcessorgetSupportedSourceVersion 在类中 AbstractProcessorpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes 在接口中 ProcessorgetSupportedAnnotationTypes 在类中 AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process 在接口中 Processorprocess 在类中 AbstractProcessorCopyright © 2017. All rights reserved.