Package org.hibernate.jpamodelgen
Class JPAMetaModelEntityProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.hibernate.jpamodelgen.JPAMetaModelEntityProcessor
-
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"jakarta.persistence.Entity","jakarta.persistence.MappedSuperclass","jakarta.persistence.Embeddable"}) @SupportedOptions({"debug","persistenceXml","ormXml","fullyAnnotationConfigured","lazyXmlParsing","addGenerationDate","addGeneratedAnnotation","addSuppressWarningsAnnotation"}) public class JPAMetaModelEntityProcessor extends AbstractProcessor
Main annotation processor.
-
-
Field Summary
Fields Modifier and Type Field Description static StringADD_GENERATED_ANNOTATIONstatic StringADD_GENERATION_DATEstatic StringADD_SUPPRESS_WARNINGS_ANNOTATIONstatic StringDEBUG_OPTIONstatic StringFULLY_ANNOTATION_CONFIGURED_OPTIONstatic StringLAZY_XML_PARSINGstatic StringORM_XML_OPTIONstatic StringPERSISTENCE_XML_OPTION-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description JPAMetaModelEntityProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment env)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnvironment)-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
-
-
-
Field Detail
-
DEBUG_OPTION
public static final String DEBUG_OPTION
- See Also:
- Constant Field Values
-
PERSISTENCE_XML_OPTION
public static final String PERSISTENCE_XML_OPTION
- See Also:
- Constant Field Values
-
ORM_XML_OPTION
public static final String ORM_XML_OPTION
- See Also:
- Constant Field Values
-
FULLY_ANNOTATION_CONFIGURED_OPTION
public static final String FULLY_ANNOTATION_CONFIGURED_OPTION
- See Also:
- Constant Field Values
-
LAZY_XML_PARSING
public static final String LAZY_XML_PARSING
- See Also:
- Constant Field Values
-
ADD_GENERATION_DATE
public static final String ADD_GENERATION_DATE
- See Also:
- Constant Field Values
-
ADD_GENERATED_ANNOTATION
public static final String ADD_GENERATED_ANNOTATION
- See Also:
- Constant Field Values
-
ADD_SUPPRESS_WARNINGS_ANNOTATION
public static final String ADD_SUPPRESS_WARNINGS_ANNOTATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(ProcessingEnvironment env)
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnvironment)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
-