@SupportedSourceVersion(value=RELEASE_8) @SupportedAnnotationTypes(value={"pro.projo.interfaces.annotation.Enum","pro.projo.interfaces.annotation.Enums","pro.projo.interfaces.annotation.Interface","pro.projo.interfaces.annotation.Interfaces"}) public class InterfaceTemplateProcessor extends ProjoProcessor
InterfaceTemplateProcessor is an annotation processor that, at compile time, detects source files
that have an @Interface/@Enum annotation and will use these sources for
generating synthetic interfaces/enums.processingEnv| Constructor and Description |
|---|
InterfaceTemplateProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(ProcessingEnvironment environment) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment round) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMap, getTypeMirrorpublic void init(ProcessingEnvironment environment)
init in interface Processorinit in class AbstractProcessorpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment round)
process in interface Processorprocess in class AbstractProcessorCopyright © 2019. All rights reserved.