Class EntityViewAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
com.blazebit.persistence.view.processor.EntityViewAnnotationProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("com.blazebit.persistence.view.EntityView") @SupportedOptions({"debug","addGenerationDate","addGeneratedAnnotation","addSuppressWarningsAnnotation","strictCascadingCheck","defaultVersionAttributeName","defaultVersionAttributeType","generateImplementations","generateBuilders","createEmptyFlatViews","generateDeepConstants","optionalParameters","threads"}) public class EntityViewAnnotationProcessor extends AbstractProcessor
- Since:
- 1.5.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description static StringADD_GENERATED_ANNOTATIONstatic StringADD_GENERATION_DATEstatic StringADD_SUPPRESS_WARNINGS_ANNOTATIONstatic StringCREATE_EMPTY_FLAT_VIEWSstatic StringDEBUG_OPTIONstatic StringDEFAULT_VERSION_ATTRIBUTE_NAMEstatic StringDEFAULT_VERSION_ATTRIBUTE_TYPEstatic StringGENERATE_BUILDERSstatic StringGENERATE_DEEP_CONSTANTSstatic StringGENERATE_IMPLEMENTATIONSstatic StringOPTIONAL_PARAMETERSstatic StringSTRICT_CASCADING_CHECKstatic StringTHREADS -
Constructor Summary
Constructors Constructor Description EntityViewAnnotationProcessor() -
Method Summary
Modifier and Type Method Description SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment processingEnvironment)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Field Details
-
DEBUG_OPTION
- See Also:
- Constant Field Values
-
ADD_GENERATION_DATE
- See Also:
- Constant Field Values
-
ADD_GENERATED_ANNOTATION
- See Also:
- Constant Field Values
-
ADD_SUPPRESS_WARNINGS_ANNOTATION
- See Also:
- Constant Field Values
-
STRICT_CASCADING_CHECK
- See Also:
- Constant Field Values
-
DEFAULT_VERSION_ATTRIBUTE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_VERSION_ATTRIBUTE_TYPE
- See Also:
- Constant Field Values
-
GENERATE_IMPLEMENTATIONS
- See Also:
- Constant Field Values
-
GENERATE_BUILDERS
- See Also:
- Constant Field Values
-
CREATE_EMPTY_FLAT_VIEWS
- See Also:
- Constant Field Values
-
GENERATE_DEEP_CONSTANTS
- See Also:
- Constant Field Values
-
OPTIONAL_PARAMETERS
- See Also:
- Constant Field Values
-
THREADS
- See Also:
- Constant Field Values
-
-
Constructor Details
-
EntityViewAnnotationProcessor
public EntityViewAnnotationProcessor()
-
-
Method Details
-
getSupportedSourceVersion
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
init
- Specified by:
initin interfaceProcessor- Overrides:
initin classAbstractProcessor
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-