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
annotationUtilFields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors Constructor Description AnnotationProcessorProcessor()Constructor to designate this as an annotation processor forAnnotationProcessor. -
Method Summary
Modifier and Type Method Description protected voidprocessElements(java.util.Set<? extends javax.lang.model.element.Element> elements)Processes theElementsthat include theAnnotationProcessorannotation.Methods inherited from class com.github.tadukoo.util.annotation.process.AbstractAnnotationProcessor
getSupportedAnnotationTypes, init, processMethods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedOptions, getSupportedSourceVersion, isInitializedMethods 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 forAnnotationProcessor.
-
-
Method Details
-
processElements
protected void processElements(java.util.Set<? extends javax.lang.model.element.Element> elements) throws java.lang.ThrowableProcesses theElementsthat include theAnnotationProcessorannotation. Throws compilation errors on classes that aren't sub-classes ofAbstractProcessorand adds the others to the META-INF Annotation Processor file.- Specified by:
processElementsin classAbstractAnnotationProcessor- Parameters:
elements- The Elements to process- Throws:
java.lang.Throwable- If anything goes wrong, subclasses may throw something
-