Package cn.mapway.ui.server.code
Class JsonRpcProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- cn.mapway.ui.server.code.JsonRpcProcessor
-
- All Implemented Interfaces:
Processor
@AutoService(javax.annotation.processing.Processor.class) public class JsonRpcProcessor extends AbstractProcessor
JSON RPC代码生成处理器
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description JsonRpcProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getSupportedAnnotationTypes()SourceVersiongetSupportedSourceVersion()booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, init, isInitialized
-
-
-
-
Method Detail
-
getSupportedAnnotationTypes
public Set<String> getSupportedAnnotationTypes()
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
-