@SupportedOptions(value="title") @SupportedSourceVersion(value=RELEASE_8) @SupportedAnnotationTypes(value={"io.virtdata.annotations.ThreadSafeMapper","io.virtdata.annotations.PerThreadMapper"}) public class FunctionManifestProcessor extends AbstractProcessor
ThreadSafeMapper
or PerThreadMapper are recorded in
classes/META-INF/functionsThis operates slightly differently than the service loader facility. The point is to enumerate candidate functions without requiring them to have a no-args constructor.
processingEnv| Constructor and Description |
|---|
FunctionManifestProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(ProcessingEnvironment processingEnv) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedpublic void init(ProcessingEnvironment processingEnv)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process in interface Processorprocess in class AbstractProcessorCopyright © 2018. All rights reserved.