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:
  • Constructor Details

    • GrpcServiceProcessor

      public GrpcServiceProcessor()
  • Method Details

    • initSteps

      protected com.google.common.collect.ImmutableList<GrpcServiceProcessor> initSteps()
      Overrides:
      initSteps in class com.google.auto.common.BasicAnnotationProcessor
    • annotations

      public com.google.common.collect.ImmutableSet<Class<GrpcService>> annotations()
      Specified by:
      annotations in interface com.google.auto.common.BasicAnnotationProcessor.ProcessingStep
    • getSupportedSourceVersion

      public SourceVersion getSupportedSourceVersion()
      Specified by:
      getSupportedSourceVersion in interface Processor
      Overrides:
      getSupportedSourceVersion in class AbstractProcessor
    • process

      public Set<Element> process(com.google.common.collect.SetMultimap<Class<? extends Annotation>,Element> elementsByAnnotation)
      Specified by:
      process in interface com.google.auto.common.BasicAnnotationProcessor.ProcessingStep