public interface AnnotationHelper
TypeFactory
.Modifier and Type | Method and Description |
---|---|
Object |
getCustomKey(Annotation annotation)
Get specific object that will be used as part of type cache key.
|
com.mysema.codegen.model.TypeCategory |
getTypeByAnnotation(Class<?> cl,
Annotation annotation)
Get the
TypeCategory according with object Class and Annotation. |
boolean |
isSupported(Class<? extends Annotation> annotationClass)
Verify if AnnotationHelper instance can handle the annotation.
|
boolean isSupported(Class<? extends Annotation> annotationClass)
annotationClass
- Annotation class.true
if this AnnotationHelper can handle the annotation.Object getCustomKey(Annotation annotation)
annotation
- Annotation instance.null
.com.mysema.codegen.model.TypeCategory getTypeByAnnotation(Class<?> cl, Annotation annotation)
TypeCategory
according with object Class and Annotation.cl
- Class of type.annotation
- Annotation found on element.TypeCategory
.Copyright © 2007–2015 Mysema Ltd. All rights reserved.