public interface AnnotationHelper
AnnotationHelper defines a interface to provide custom annotation processing
for TypeFactory.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCustomKey(java.lang.annotation.Annotation annotation)
Get specific object that will be used as part of type cache key.
|
TypeCategory |
getTypeByAnnotation(java.lang.Class<?> cl,
java.lang.annotation.Annotation annotation)
Get the
TypeCategory according with object Class and Annotation. |
boolean |
isSupported(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Verify if AnnotationHelper instance can handle the annotation.
|
boolean isSupported(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
annotationClass - Annotation class.true if this AnnotationHelper can handle the annotation.java.lang.Object getCustomKey(java.lang.annotation.Annotation annotation)
annotation - Annotation instance.null.TypeCategory getTypeByAnnotation(java.lang.Class<?> cl, java.lang.annotation.Annotation annotation)
TypeCategory according with object Class and Annotation.cl - Class of type.annotation - Annotation found on element.TypeCategory.Copyright © 2007–2021 Querydsl. All rights reserved.