Package br.com.jarch.apt.processor
Class PeriodProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- br.com.jarch.apt.processor.PeriodProcessor
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@SupportedAnnotationTypes({"br.com.jarch.core.annotation.JArchValidPeriod","br.com.jarch.core.annotation.JArchValidPeriod.List"}) public class PeriodProcessor extends javax.annotation.processing.AbstractProcessor
-
-
Constructor Summary
Constructors Constructor Description PeriodProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<? extends javax.annotation.processing.Completion>getCompletions(javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotation, javax.lang.model.element.ExecutableElement member, java.lang.String userText)javax.lang.model.SourceVersiongetSupportedSourceVersion()booleanprocess(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
-
-
-
Method Detail
-
process
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)- Specified by:
processin interfacejavax.annotation.processing.Processor- Specified by:
processin classjavax.annotation.processing.AbstractProcessor
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfacejavax.annotation.processing.Processor- Overrides:
getSupportedSourceVersionin classjavax.annotation.processing.AbstractProcessor
-
getCompletions
public java.lang.Iterable<? extends javax.annotation.processing.Completion> getCompletions(javax.lang.model.element.Element element, javax.lang.model.element.AnnotationMirror annotation, javax.lang.model.element.ExecutableElement member, java.lang.String userText)- Specified by:
getCompletionsin interfacejavax.annotation.processing.Processor- Overrides:
getCompletionsin classjavax.annotation.processing.AbstractProcessor
-
-