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.AbstractProcessorMain annotation processor.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringADD_GENERATED_ANNOTATIONstatic java.lang.StringADD_GENERATION_DATEstatic java.lang.StringADD_SUPPRESS_WARNINGS_ANNOTATIONstatic java.lang.StringDEBUG_OPTIONstatic java.lang.StringFULLY_ANNOTATION_CONFIGURED_OPTIONstatic java.lang.StringLAZY_XML_PARSINGstatic java.lang.StringORM_XML_OPTIONstatic java.lang.StringPERSISTENCE_XML_OPTION
-
Constructor Summary
Constructors Constructor Description JPAMetaModelEntityProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.lang.model.SourceVersiongetSupportedSourceVersion()voidinit(javax.annotation.processing.ProcessingEnvironment env)booleanprocess(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:
initin interfacejavax.annotation.processing.Processor- Overrides:
initin classjavax.annotation.processing.AbstractProcessor
-
getSupportedSourceVersion
public javax.lang.model.SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfacejavax.annotation.processing.Processor- Overrides:
getSupportedSourceVersionin 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:
processin interfacejavax.annotation.processing.Processor- Specified by:
processin classjavax.annotation.processing.AbstractProcessor
-
-