Class AnnotationProcessorProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
com.github.tadukoo.util.annotation.process.AbstractAnnotationProcessor
com.github.tadukoo.util.annotation.process.AnnotationProcessorProcessor
All Implemented Interfaces:
javax.annotation.processing.Processor

public class AnnotationProcessorProcessor
extends AbstractAnnotationProcessor
Annotation Processor for AnnotationProcessor annotation. Adds the classes with the annotation to the META-INF Annotation Processor file, and displays compilation errors on classes with the annotation that are not Annotation Processors (they must be a sub-class of AbstractProcessor).
Version:
Pre-Alpha
Author:
Logan Ferree (Tadukoo)
  • Field Summary

    Fields inherited from class com.github.tadukoo.util.annotation.process.AbstractAnnotationProcessor

    annotationUtil

    Fields inherited from class javax.annotation.processing.AbstractProcessor

    processingEnv
  • Constructor Summary

    Constructors
    Constructor Description
    AnnotationProcessorProcessor()
    Constructor to designate this as an annotation processor for AnnotationProcessor.
  • Method Summary

    Modifier and Type Method Description
    protected void processElements​(java.util.Set<? extends javax.lang.model.element.Element> elements)
    Processes the Elements that include the AnnotationProcessor annotation.

    Methods inherited from class com.github.tadukoo.util.annotation.process.AbstractAnnotationProcessor

    getSupportedAnnotationTypes, init, process

    Methods inherited from class javax.annotation.processing.AbstractProcessor

    getCompletions, getSupportedOptions, getSupportedSourceVersion, isInitialized

    Methods inherited from class java.lang.Object

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

    • AnnotationProcessorProcessor

      public AnnotationProcessorProcessor()
      Constructor to designate this as an annotation processor for AnnotationProcessor.
  • Method Details

    • processElements

      protected void processElements​(java.util.Set<? extends javax.lang.model.element.Element> elements) throws java.lang.Throwable
      Processes the Elements that include the AnnotationProcessor annotation. Throws compilation errors on classes that aren't sub-classes of AbstractProcessor and adds the others to the META-INF Annotation Processor file.
      Specified by:
      processElements in class AbstractAnnotationProcessor
      Parameters:
      elements - The Elements to process
      Throws:
      java.lang.Throwable - If anything goes wrong, subclasses may throw something