Package org.hibernate.jpamodelgen
Class JPAMetaModelEntityProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor
-
- All Implemented Interfaces:
javax.annotation.processing.Processor
@SupportedAnnotationTypes({"javax.persistence.Entity","javax.persistence.MappedSuperclass","javax.persistence.Embeddable"}) @SupportedOptions({"debug","persistenceXml","ormXml","fullyAnnotationConfigured","lazyXmlParsing","addGenerationDate","addGeneratedAnnotation","addSuppressWarningsAnnotation"}) public class JPAMetaModelEntityProcessor extends javax.annotation.processing.AbstractProcessor
Main annotation processor.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ADD_GENERATED_ANNOTATION
static java.lang.String
ADD_GENERATION_DATE
static java.lang.String
ADD_SUPPRESS_WARNINGS_ANNOTATION
static java.lang.String
DEBUG_OPTION
static java.lang.String
FULLY_ANNOTATION_CONFIGURED_OPTION
static java.lang.String
LAZY_XML_PARSING
static java.lang.String
ORM_XML_OPTION
static java.lang.String
PERSISTENCE_XML_OPTION
-
Constructor Summary
Constructors Constructor Description JPAMetaModelEntityProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.lang.model.SourceVersion
getSupportedSourceVersion()
void
init(javax.annotation.processing.ProcessingEnvironment env)
boolean
process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnvironment)
-
-
-
Field Detail
-
DEBUG_OPTION
public static final java.lang.String DEBUG_OPTION
- See Also:
- Constant Field Values
-
PERSISTENCE_XML_OPTION
public static final java.lang.String PERSISTENCE_XML_OPTION
- See Also:
- Constant Field Values
-
ORM_XML_OPTION
public static final java.lang.String ORM_XML_OPTION
- See Also:
- Constant Field Values
-
FULLY_ANNOTATION_CONFIGURED_OPTION
public static final java.lang.String FULLY_ANNOTATION_CONFIGURED_OPTION
- See Also:
- Constant Field Values
-
LAZY_XML_PARSING
public static final java.lang.String LAZY_XML_PARSING
- See Also:
- Constant Field Values
-
ADD_GENERATION_DATE
public static final java.lang.String ADD_GENERATION_DATE
- See Also:
- Constant Field Values
-
ADD_GENERATED_ANNOTATION
public static final java.lang.String ADD_GENERATED_ANNOTATION
- See Also:
- Constant Field Values
-
ADD_SUPPRESS_WARNINGS_ANNOTATION
public static final java.lang.String ADD_SUPPRESS_WARNINGS_ANNOTATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(javax.annotation.processing.ProcessingEnvironment env)
- Specified by:
init
in interfacejavax.annotation.processing.Processor
- Overrides:
init
in classjavax.annotation.processing.AbstractProcessor
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersion
in interfacejavax.annotation.processing.Processor
- Overrides:
getSupportedSourceVersion
in classjavax.annotation.processing.AbstractProcessor
-
process
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnvironment)
- Specified by:
process
in interfacejavax.annotation.processing.Processor
- Specified by:
process
in classjavax.annotation.processing.AbstractProcessor
-
-