public final class NamedServiceProcessor extends AbstractServiceProviderProcessor
processingEnv| Constructor and Description |
|---|
NamedServiceProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getSupportedAnnotationTypes() |
protected boolean |
handleProcess(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv)
|
getSupportedSourceVersion, process, register, register, registergetCompletions, getSupportedOptions, init, isInitializedpublic Set<String> getSupportedAnnotationTypes()
getSupportedAnnotationTypes in interface ProcessorgetSupportedAnnotationTypes in class AbstractProcessorprotected boolean handleProcess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
AbstractServiceProviderProcessorAbstractServiceProviderProcessor.process(java.util.Set<? extends javax.lang.model.element.TypeElement>, javax.annotation.processing.RoundEnvironment).
Called during regular rounds if there are no outstanding errors.
In the last round, one of the processors will write out generated registrations.handleProcess in class AbstractServiceProviderProcessorannotations - as in AbstractServiceProviderProcessor.process(java.util.Set<? extends javax.lang.model.element.TypeElement>, javax.annotation.processing.RoundEnvironment)roundEnv - as in AbstractServiceProviderProcessor.process(java.util.Set<? extends javax.lang.model.element.TypeElement>, javax.annotation.processing.RoundEnvironment)AbstractServiceProviderProcessor.process(java.util.Set<? extends javax.lang.model.element.TypeElement>, javax.annotation.processing.RoundEnvironment)Copyright © 2025 API Design. All Rights Reserved.