@SupportedSourceVersion(value=RELEASE_6) @SupportedAnnotationTypes(value="com.weibo.api.motan.transport.async.MotanAsync") public class MotanAsyncProcessor extends AbstractProcessor
| 限定符和类型 | 字段和说明 |
|---|---|
protected static String |
ASYNC |
protected static String |
GENERATE_PATH_KEY |
protected static String |
TARGET_DIR |
processingEnv| 构造器和说明 |
|---|
MotanAsyncProcessor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedprotected static String ASYNC
protected static String GENERATE_PATH_KEY
protected static String TARGET_DIR
public void init(ProcessingEnvironment processingEnv)
init 在接口中 Processorinit 在类中 AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process 在接口中 Processorprocess 在类中 AbstractProcessorCopyright © 2017. All rights reserved.