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,javax.annotation.processing.Processor
@AutoService(javax.annotation.processing.Processor.class) public class GrpcServiceProcessor extends com.google.auto.common.BasicAnnotationProcessor implements com.google.auto.common.BasicAnnotationProcessor.ProcessingStepGenerates code from types annotated with@GrpcService.- See Also:
- https://dagger.dev/dev-guide/grpc
-
-
Constructor Summary
Constructors Constructor Description GrpcServiceProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableSet<java.lang.Class<GrpcService>>annotations()javax.lang.model.SourceVersiongetSupportedSourceVersion()protected com.google.common.collect.ImmutableList<GrpcServiceProcessor>initSteps()java.util.Set<javax.lang.model.element.Element>process(com.google.common.collect.SetMultimap<java.lang.Class<? extends java.lang.annotation.Annotation>,javax.lang.model.element.Element> elementsByAnnotation)-
Methods inherited from class com.google.auto.common.BasicAnnotationProcessor
asStep, getSupportedAnnotationTypes, init, postProcess, postRound, process, steps
-
-
-
-
Method Detail
-
initSteps
protected com.google.common.collect.ImmutableList<GrpcServiceProcessor> initSteps()
- Overrides:
initStepsin classcom.google.auto.common.BasicAnnotationProcessor
-
annotations
public com.google.common.collect.ImmutableSet<java.lang.Class<GrpcService>> annotations()
- Specified by:
annotationsin interfacecom.google.auto.common.BasicAnnotationProcessor.ProcessingStep
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfacejavax.annotation.processing.Processor- Overrides:
getSupportedSourceVersionin classjavax.annotation.processing.AbstractProcessor
-
process
public java.util.Set<javax.lang.model.element.Element> process(com.google.common.collect.SetMultimap<java.lang.Class<? extends java.lang.annotation.Annotation>,javax.lang.model.element.Element> elementsByAnnotation)
- Specified by:
processin interfacecom.google.auto.common.BasicAnnotationProcessor.ProcessingStep
-
-