Package pro.projo.generation
Class ProjoTemplateFactoryProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
pro.projo.generation.ProjoProcessor
pro.projo.generation.ProjoTemplateFactoryProcessor
- All Implemented Interfaces:
Processor,TypeMirrorUtilities
@SupportedSourceVersion(RELEASE_8) @SupportedAnnotationTypes("pro.projo.template.annotation.Template") public class ProjoTemplateFactoryProcessor extends ProjoProcessor
The
ProjoTemplateFactoryProcessor is an annotation processor that, at compile time, detects source files that
have an @Template annotation and will use these sources for generating additional source files according
to the template's input Configuration.- Author:
- Mirko Raner
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ProjoTemplateFactoryProcessor() -
Method Summary
Modifier and Type Method Description voidinit(ProcessingEnvironment environment)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment round)Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pro.projo.generation.utilities.TypeMirrorUtilities
getMap, getType, getTypeMirror
-
Constructor Details
-
ProjoTemplateFactoryProcessor
public ProjoTemplateFactoryProcessor()
-
-
Method Details
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-