uk.ac.ebi.microarray.zooma.annotations
Class ZoomaProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by uk.ac.ebi.microarray.zooma.annotations.ZoomaProcessor
All Implemented Interfaces:
javax.annotation.processing.Processor

public class ZoomaProcessor
extends javax.annotation.processing.AbstractProcessor

Processes zooma annotations to generate classpath files that can be used to inspect loaded files. This specific implementation vaguely follows the java SPI specification, except zooma annotations can generally be applied to any POJO, not implementations of specific service classes.

Author:
Tony Burdett

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

Constructor Detail

ZoomaProcessor

public ZoomaProcessor()
Method Detail

process

public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> typeElements,
                       javax.annotation.processing.RoundEnvironment roundEnv)
Specified by:
process in interface javax.annotation.processing.Processor
Specified by:
process in class javax.annotation.processing.AbstractProcessor

getSupportedAnnotationTypes

public java.util.Set<java.lang.String> getSupportedAnnotationTypes()
Specified by:
getSupportedAnnotationTypes in interface javax.annotation.processing.Processor
Overrides:
getSupportedAnnotationTypes in class javax.annotation.processing.AbstractProcessor

getSupportedOptions

public java.util.Set<java.lang.String> getSupportedOptions()
Specified by:
getSupportedOptions in interface javax.annotation.processing.Processor
Overrides:
getSupportedOptions in class javax.annotation.processing.AbstractProcessor


Copyright © 2010. All Rights Reserved.