Class StingProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
org.realityforge.proton.AbstractStandardProcessor
sting.processor.StingProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes({"sting.Injector","sting.InjectorFragment","sting.Injectable","sting.Fragment","sting.Eager","sting.Typed","sting.Named","sting.AutoFragment","sting.ContributeTo"}) @SupportedSourceVersion(RELEASE_17) @SupportedOptions({"sting.defer.unresolved","sting.defer.errors","sting.debug","sting.profile","sting.emit_json_descriptors","sting.emit_dot_reports","sting.verbose_out_of_round.errors","sting.verify_descriptors"}) public final class StingProcessor extends org.realityforge.proton.AbstractStandardProcessor
The annotation processor that analyzes Sting annotated source code and generates an injector and supporting artifacts.
  • Constructor Details

    • StingProcessor

      public StingProcessor()
  • Method Details

    • getIssueTrackerURL

      @Nonnull protected String getIssueTrackerURL()
      Specified by:
      getIssueTrackerURL in class org.realityforge.proton.AbstractStandardProcessor
    • getOptionPrefix

      @Nonnull protected String getOptionPrefix()
      Specified by:
      getOptionPrefix in class org.realityforge.proton.AbstractStandardProcessor
    • init

      public void init(@Nonnull ProcessingEnvironment processingEnv)
      Specified by:
      init in interface Processor
      Overrides:
      init in class org.realityforge.proton.AbstractStandardProcessor
    • collectStopWatches

      protected void collectStopWatches(@Nonnull Collection<org.realityforge.proton.StopWatch> stopWatches)
      Overrides:
      collectStopWatches in class org.realityforge.proton.AbstractStandardProcessor
    • process

      public boolean process(@Nonnull Set<? extends TypeElement> annotations, @Nonnull RoundEnvironment env)
      Specified by:
      process in interface Processor
      Specified by:
      process in class AbstractProcessor