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:
Processor
Direct Known Subclasses:
HibernateAnnotationProcessor

@SupportedAnnotationTypes(value="*")
@SupportedSourceVersion(value=RELEASE_6)
public class JPAAnnotationProcessor
extends AbstractProcessor

Author:
tiwe

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

superType

protected Class<? extends Annotation> superType

embeddable

protected Class<? extends Annotation> embeddable

skip

protected Class<? extends Annotation> skip
Constructor Detail

JPAAnnotationProcessor

public JPAAnnotationProcessor()
Method Detail

process

public boolean process(Set<? extends TypeElement> annotations,
                       RoundEnvironment roundEnv)
Specified by:
process in interface Processor
Specified by:
process in class AbstractProcessor

createConfiguration

protected DefaultConfiguration createConfiguration(RoundEnvironment roundEnv)
                                            throws ClassNotFoundException
Throws:
ClassNotFoundException


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