@SupportedAnnotationTypes(value={"javax.persistence.Entity","javax.persistence.MappedSuperclass","javax.persistence.Embeddable"})
@SupportedOptions(value={"debug","persistenceXml","ormXml","fullyAnnotationConfigured","lazyXmlParsing","addGenerationDate","addGeneratedAnnotation","addSuppressWarningsAnnotation"})
public class JPAMetaModelEntityProcessor
extends javax.annotation.processing.AbstractProcessor
Modifier and Type | Field and 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 and Description |
---|
JPAMetaModelEntityProcessor() |
Modifier and Type | Method and 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) |
public static final java.lang.String DEBUG_OPTION
public static final java.lang.String PERSISTENCE_XML_OPTION
public static final java.lang.String ORM_XML_OPTION
public static final java.lang.String FULLY_ANNOTATION_CONFIGURED_OPTION
public static final java.lang.String LAZY_XML_PARSING
public static final java.lang.String ADD_GENERATION_DATE
public static final java.lang.String ADD_GENERATED_ANNOTATION
public static final java.lang.String ADD_SUPPRESS_WARNINGS_ANNOTATION
public void init(javax.annotation.processing.ProcessingEnvironment env)
init
in interface javax.annotation.processing.Processor
init
in class javax.annotation.processing.AbstractProcessor
public javax.lang.model.SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface javax.annotation.processing.Processor
getSupportedSourceVersion
in class javax.annotation.processing.AbstractProcessor
public boolean process(java.util.Set<? extends javax.lang.model.element.TypeElement> annotations, javax.annotation.processing.RoundEnvironment roundEnvironment)
process
in interface javax.annotation.processing.Processor
process
in class javax.annotation.processing.AbstractProcessor
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.