Class ServiceProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
io.nosqlbench.nb.annotations.ServiceProcessor
- All Implemented Interfaces:
Processor
This annotation processor is responsible for adding services to the
classes/META-INF/services/servicenamefile for each implemented and annotated service name.
-
Field Summary
FieldsFields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(ProcessingEnvironment processingEnv) booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
Field Details
-
SERVICE_NAME
-
-
Constructor Details
-
ServiceProcessor
public ServiceProcessor()
-
-
Method Details
-
getSupportedAnnotationTypes
- Specified by:
getSupportedAnnotationTypesin interfaceProcessor- Overrides:
getSupportedAnnotationTypesin classAbstractProcessor
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-