Class GenerateEntityImplementationsProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.keycloak.models.map.processor.AbstractGenerateEntityImplementationsProcessor
-
- org.keycloak.models.map.processor.GenerateEntityImplementationsProcessor
-
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("org.keycloak.models.map.annotations.GenerateEntityImplementations") @SupportedSourceVersion(RELEASE_11) public class GenerateEntityImplementationsProcessor extends AbstractGenerateEntityImplementationsProcessor
- Author:
- hmlnarik
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.keycloak.models.map.processor.AbstractGenerateEntityImplementationsProcessor
AbstractGenerateEntityImplementationsProcessor.Generator, AbstractGenerateEntityImplementationsProcessor.NameFirstComparator
-
-
Field Summary
-
Fields inherited from class org.keycloak.models.map.processor.AbstractGenerateEntityImplementationsProcessor
elements, FQN_DEEP_CLONER, FQN_ENTITY_FIELD, FQN_ENTITY_FIELD_DELEGATE, FQN_HAS_ENTITY_FIELD_DELEGATE, types
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description GenerateEntityImplementationsProcessor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterAnnotationProcessing()
protected AbstractGenerateEntityImplementationsProcessor.Generator[]
getGenerators()
protected void
printMethodHeader(PrintWriter pw, ExecutableElement ee)
protected boolean
testAnnotationElement(TypeElement e)
protected static String
toEnumConstant(String key)
-
Methods inherited from class org.keycloak.models.map.processor.AbstractGenerateEntityImplementationsProcessor
deepClone, determineAttributeFromMethodName, determineFieldType, fieldGetters, generatedAnnotation, getAllAbstractMethods, getCollectionKey, interfaceToImplementation, isBoxedPrimitiveType, isCollection, isEnumType, isImmutableFinalType, isKnownCollectionOfImmutableFinalTypes, isPrimitiveType, isUndefined, methodsPerAttributeMapping, process, removeUndefined
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
-
-
-
-
Method Detail
-
afterAnnotationProcessing
protected void afterAnnotationProcessing()
- Overrides:
afterAnnotationProcessing
in classAbstractGenerateEntityImplementationsProcessor
-
getGenerators
protected AbstractGenerateEntityImplementationsProcessor.Generator[] getGenerators()
- Specified by:
getGenerators
in classAbstractGenerateEntityImplementationsProcessor
-
testAnnotationElement
protected boolean testAnnotationElement(TypeElement e)
- Overrides:
testAnnotationElement
in classAbstractGenerateEntityImplementationsProcessor
-
printMethodHeader
protected void printMethodHeader(PrintWriter pw, ExecutableElement ee)
-
-