public class IntrospectionAnnotationHelper extends IntrospectionTypeInfoFactory implements AnnotationHelper
This avoids recalculating things everytime a helper is constructed inside the same classloader. Extends IntrospectionTypeInfo to get access to delegate + simplifies usage when TIF must also be used as AnnotationHelper.
delegate| Constructor and Description |
|---|
IntrospectionAnnotationHelper() |
| Modifier and Type | Method and Description |
|---|---|
AnnotationValue |
createAnnotationValue(AnnotationInfo info,
Object ann)
Create an annotation from the underlying implementation and its info type
|
AnnotationValue[] |
getAnnotations(Object object)
Get the annotations for the annotated object
|
getTypeInfo, getTypeInfo, getTypeInfopublic AnnotationValue[] getAnnotations(Object object)
AnnotationHelpergetAnnotations in interface AnnotationHelperobject - the annotated objectpublic AnnotationValue createAnnotationValue(AnnotationInfo info, Object ann)
AnnotationHelpercreateAnnotationValue in interface AnnotationHelperinfo - the annotation infoann - the underlying annotationCopyright © 2016 JBoss by Red Hat. All rights reserved.