org.h2.test.ap
Class TestAnnotationProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by org.h2.test.ap.TestAnnotationProcessor
All Implemented Interfaces:
javax.annotation.processing.Processor

public class TestAnnotationProcessor
extends javax.annotation.processing.AbstractProcessor

An annotation processor for testing.


Field Summary
static java.lang.String MESSAGES_KEY
          The message key.
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
TestAnnotationProcessor()
           
 
Method Summary
 java.util.Set<java.lang.String> getSupportedAnnotationTypes()
           
 javax.lang.model.SourceVersion getSupportedSourceVersion()
           
 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, getSupportedOptions, init, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGES_KEY

public static final java.lang.String MESSAGES_KEY
The message key.

Constructor Detail

TestAnnotationProcessor

public TestAnnotationProcessor()
Method Detail

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

getSupportedSourceVersion

public javax.lang.model.SourceVersion getSupportedSourceVersion()
Specified by:
getSupportedSourceVersion in interface javax.annotation.processing.Processor
Overrides:
getSupportedSourceVersion in class javax.annotation.processing.AbstractProcessor

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