com.mysema.query.apt.jpa
Class JPAAnnotationProcessor

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by com.mysema.query.apt.jpa.JPAAnnotationProcessor
All Implemented Interfaces:
javax.annotation.processing.Processor
Direct Known Subclasses:
HibernateAnnotationProcessor

@SupportedAnnotationTypes(value="*")
@SupportedSourceVersion(value=RELEASE_6)
public class JPAAnnotationProcessor
extends javax.annotation.processing.AbstractProcessor

Author:
tiwe

Field Summary
protected  java.lang.Class<? extends java.lang.annotation.Annotation> embeddable
           
protected  java.lang.Class<? extends java.lang.annotation.Annotation> entity
           
protected  java.lang.Class<? extends java.lang.annotation.Annotation> skip
           
protected  java.lang.Class<? extends java.lang.annotation.Annotation> superType
           
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
JPAAnnotationProcessor()
           
 
Method Summary
protected  DefaultConfiguration createConfiguration(javax.annotation.processing.RoundEnvironment roundEnv)
           
 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
 

Field Detail

entity

protected java.lang.Class<? extends java.lang.annotation.Annotation> entity

superType

protected java.lang.Class<? extends java.lang.annotation.Annotation> superType

embeddable

protected java.lang.Class<? extends java.lang.annotation.Annotation> embeddable

skip

protected java.lang.Class<? extends java.lang.annotation.Annotation> skip
Constructor Detail

JPAAnnotationProcessor

public JPAAnnotationProcessor()
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

createConfiguration

protected DefaultConfiguration createConfiguration(javax.annotation.processing.RoundEnvironment roundEnv)
                                            throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.