Class AbstractGenerateEntityImplementationsProcessor
- java.lang.Object
- 
- javax.annotation.processing.AbstractProcessor
- 
- org.keycloak.models.map.processor.AbstractGenerateEntityImplementationsProcessor
 
 
- 
- All Implemented Interfaces:
- Processor
 - Direct Known Subclasses:
- GenerateEntityImplementationsProcessor,- GenerateHotRodEntityImplementationsProcessor
 
 @SupportedSourceVersion(RELEASE_8) public abstract class AbstractGenerateEntityImplementationsProcessor extends AbstractProcessor 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description protected static interfaceAbstractGenerateEntityImplementationsProcessor.Generatorprotected static classAbstractGenerateEntityImplementationsProcessor.NameFirstComparator
 - 
Field SummaryFields Modifier and Type Field Description protected Elementselementsprotected static StringFQN_DEEP_CLONERprotected static StringFQN_ENTITY_FIELDprotected static StringFQN_ENTITY_FIELD_DELEGATEprotected static StringFQN_HAS_ENTITY_FIELD_DELEGATEprotected Typestypes- 
Fields inherited from class javax.annotation.processing.AbstractProcessorprocessingEnv
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractGenerateEntityImplementationsProcessor()
 - 
Method Summary- 
Methods inherited from class javax.annotation.processing.AbstractProcessorgetCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
 
- 
 
- 
- 
- 
Field Detail- 
FQN_DEEP_CLONERprotected static final String FQN_DEEP_CLONER - See Also:
- Constant Field Values
 
 - 
FQN_ENTITY_FIELDprotected static final String FQN_ENTITY_FIELD - See Also:
- Constant Field Values
 
 - 
FQN_HAS_ENTITY_FIELD_DELEGATEprotected static final String FQN_HAS_ENTITY_FIELD_DELEGATE - See Also:
- Constant Field Values
 
 - 
FQN_ENTITY_FIELD_DELEGATEprotected static final String FQN_ENTITY_FIELD_DELEGATE - See Also:
- Constant Field Values
 
 - 
elementsprotected Elements elements 
 - 
typesprotected Types types 
 
- 
 - 
Method Detail- 
processpublic boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) - Specified by:
- processin interface- Processor
- Specified by:
- processin class- AbstractProcessor
 
 - 
getCollectionKeypublic ExecutableElement getCollectionKey(TypeMirror fieldType, ExecutableElement callingMethod) 
 - 
testAnnotationElementprotected boolean testAnnotationElement(TypeElement kind) 
 - 
afterAnnotationProcessingprotected void afterAnnotationProcessing() 
 - 
getGeneratorsprotected abstract AbstractGenerateEntityImplementationsProcessor.Generator[] getGenerators() 
 - 
getAllAbstractMethodsprotected Stream<ExecutableElement> getAllAbstractMethods(TypeElement e) 
 - 
methodsPerAttributeMappingprotected Map<String,HashSet<ExecutableElement>> methodsPerAttributeMapping(TypeElement e) 
 - 
determineAttributeFromMethodNameprotected String determineAttributeFromMethodName(ExecutableElement e) 
 - 
fieldGettersprotected Stream<ExecutableElement> fieldGetters(Map<String,HashSet<ExecutableElement>> methodsPerAttribute) 
 - 
isImmutableFinalTypeprotected boolean isImmutableFinalType(TypeMirror fieldType) 
 - 
isKnownCollectionOfImmutableFinalTypesprotected boolean isKnownCollectionOfImmutableFinalTypes(TypeMirror fieldType) 
 - 
isCollectionprotected boolean isCollection(TypeMirror fieldType) 
 - 
deepCloneprotected String deepClone(TypeMirror fieldType, String parameterName) 
 - 
removeUndefinedprotected String removeUndefined(TypeMirror fieldType, String parameterName) 
 - 
isEnumTypeprotected boolean isEnumType(TypeMirror fieldType) 
 - 
isPrimitiveTypeprotected boolean isPrimitiveType(TypeMirror fieldType) 
 - 
isBoxedPrimitiveTypeprotected boolean isBoxedPrimitiveType(TypeMirror fieldType) 
 - 
interfaceToImplementationprotected String interfaceToImplementation(TypeElement typeElement, String parameter) 
 - 
determineFieldTypeprotected TypeMirror determineFieldType(String fieldName, HashSet<ExecutableElement> methods) 
 - 
generatedAnnotationprotected void generatedAnnotation(PrintWriter pw) 
 
- 
 
-