Package dagger.grpc.server.processor
Class GrpcServiceProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.google.auto.common.BasicAnnotationProcessor
dagger.grpc.server.processor.GrpcServiceProcessor
- All Implemented Interfaces:
com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
,Processor
@AutoService(javax.annotation.processing.Processor.class)
public class GrpcServiceProcessor
extends com.google.auto.common.BasicAnnotationProcessor
implements com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
Generates code from types annotated with
@GrpcService
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.auto.common.BasicAnnotationProcessor
com.google.auto.common.BasicAnnotationProcessor.ProcessingStep, com.google.auto.common.BasicAnnotationProcessor.Step
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<Class<GrpcService>>
protected com.google.common.collect.ImmutableList<GrpcServiceProcessor>
process
(com.google.common.collect.SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) Methods inherited from class com.google.auto.common.BasicAnnotationProcessor
asStep, getSupportedAnnotationTypes, init, postProcess, postRound, process, steps
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, isInitialized
-
Constructor Details
-
GrpcServiceProcessor
public GrpcServiceProcessor()
-
-
Method Details
-
initSteps
- Overrides:
initSteps
in classcom.google.auto.common.BasicAnnotationProcessor
-
annotations
- Specified by:
annotations
in interfacecom.google.auto.common.BasicAnnotationProcessor.ProcessingStep
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
process
public Set<Element> process(com.google.common.collect.SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) - Specified by:
process
in interfacecom.google.auto.common.BasicAnnotationProcessor.ProcessingStep
-