Class SourceProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
stack.source.internal.SourceProcessor
All Implemented Interfaces:
javax.annotation.processing.Processor

@AutoService(javax.annotation.processing.Processor.class)
public final class SourceProcessor
extends javax.annotation.processing.AbstractProcessor
  • Field Summary

    Fields inherited from class javax.annotation.processing.AbstractProcessor

    processingEnv
  • Constructor Summary

    Constructors 
    Constructor Description
    SourceProcessor()  
  • Method Summary

    Modifier and Type Method Description
    java.util.Set<java.lang.String> getSupportedAnnotationTypes()  
    javax.lang.model.SourceVersion getSupportedSourceVersion()  
    void init​(javax.annotation.processing.ProcessingEnvironment process)  
    boolean process​(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment round)  

    Methods inherited from class javax.annotation.processing.AbstractProcessor

    getCompletions, getSupportedOptions, isInitialized

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getSupportedAnnotationTypes

      public java.util.Set<java.lang.String> getSupportedAnnotationTypes()
      Specified by:
      getSupportedAnnotationTypes in interface javax.annotation.processing.Processor
      Overrides:
      getSupportedAnnotationTypes in class javax.annotation.processing.AbstractProcessor
    • getSupportedSourceVersion

      public javax.lang.model.SourceVersion getSupportedSourceVersion()
      Specified by:
      getSupportedSourceVersion in interface javax.annotation.processing.Processor
      Overrides:
      getSupportedSourceVersion in class javax.annotation.processing.AbstractProcessor
    • init

      public void init​(javax.annotation.processing.ProcessingEnvironment process)
      Specified by:
      init in interface javax.annotation.processing.Processor
      Overrides:
      init in class javax.annotation.processing.AbstractProcessor
    • process

      public boolean process​(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment round)
      Specified by:
      process in interface javax.annotation.processing.Processor
      Specified by:
      process in class javax.annotation.processing.AbstractProcessor