@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 AbstractProcessor
Modifier and Type | Field and Description |
---|---|
static String |
ADD_GENERATED_ANNOTATION |
static String |
ADD_GENERATION_DATE |
static String |
ADD_SUPPRESS_WARNINGS_ANNOTATION |
static String |
DEBUG_OPTION |
static String |
FULLY_ANNOTATION_CONFIGURED_OPTION |
static String |
LAZY_XML_PARSING |
static String |
ORM_XML_OPTION |
static String |
PERSISTENCE_XML_OPTION |
processingEnv
Constructor and Description |
---|
JPAMetaModelEntityProcessor() |
Modifier and Type | Method and Description |
---|---|
SourceVersion |
getSupportedSourceVersion() |
void |
init(ProcessingEnvironment env) |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnvironment) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
public static final String DEBUG_OPTION
public static final String PERSISTENCE_XML_OPTION
public static final String ORM_XML_OPTION
public static final String FULLY_ANNOTATION_CONFIGURED_OPTION
public static final String LAZY_XML_PARSING
public static final String ADD_GENERATION_DATE
public static final String ADD_GENERATED_ANNOTATION
public static final String ADD_SUPPRESS_WARNINGS_ANNOTATION
public void init(ProcessingEnvironment env)
init
in interface Processor
init
in class AbstractProcessor
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnvironment)
process
in interface Processor
process
in class AbstractProcessor
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.