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 forAnnotationProcessor
. -
Method Summary
Modifier and Type Method Description protected void
processElements(java.util.Set<? extends javax.lang.model.element.Element> elements)
Processes theElements
that include theAnnotationProcessor
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 forAnnotationProcessor
.
-
-
Method Details
-
processElements
protected void processElements(java.util.Set<? extends javax.lang.model.element.Element> elements) throws java.lang.ThrowableProcesses theElements
that include theAnnotationProcessor
annotation. Throws compilation errors on classes that aren't sub-classes ofAbstractProcessor
and adds the others to the META-INF Annotation Processor file.- Specified by:
processElements
in classAbstractAnnotationProcessor
- Parameters:
elements
- The Elements to process- Throws:
java.lang.Throwable
- If anything goes wrong, subclasses may throw something
-