net.vleu.visitomatic
Class CompileTimeChecker

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by net.vleu.visitomatic.CompileTimeChecker
All Implemented Interfaces:
javax.annotation.processing.Processor

@SupportedAnnotationTypes(value={"net.vleu.visitomatic.VisitingMethod","net.vleu.visitomatic.ToVisit"})
@SupportedSourceVersion(value=RELEASE_6)
public class CompileTimeChecker
extends javax.annotation.processing.AbstractProcessor

This annotation processor does compile-time safety checks of the usage of VisitOMatic annotations : ToVisit and VisitingMethod.


Field Summary
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
CompileTimeChecker()
           
 
Method Summary
 boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnv)
          
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompileTimeChecker

public CompileTimeChecker()
Method Detail

process

public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations,
                       javax.annotation.processing.RoundEnvironment roundEnv)

Specified by:
process in interface javax.annotation.processing.Processor
Specified by:
process in class javax.annotation.processing.AbstractProcessor