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