Class GrimProcessor

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

@SupportedAnnotationTypes("grim.annotations.*") @SupportedSourceVersion(RELEASE_17) @SupportedOptions({"grim.defer.unresolved","grim.defer.errors"}) public final class GrimProcessor extends org.realityforge.proton.AbstractStandardProcessor
Annotation processor that analyzes grim annotated source and generates rules for which elements should be omitted from compiled javascript under which conditions.
  • Constructor Details

    • GrimProcessor

      public GrimProcessor()
  • 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
    • 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