org.jboss.reflect.plugins
Interface AnnotationHelper

All Known Implementing Classes:
IntrospectionAnnotationHelper, IntrospectionTypeInfoFactoryImpl, JavassistAnnotationHelper, JavassistTypeInfoFactoryImpl

public interface AnnotationHelper

AnnotationHelper.

Version:
$Revision: 60200 $
Author:
Adrian Brock

Method Summary
 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
 

Method Detail

getAnnotations

AnnotationValue[] getAnnotations(Object object)
Get the annotations for the annotated object

Parameters:
object - the annotated object
Returns:
the annotations

createAnnotationValue

AnnotationValue createAnnotationValue(AnnotationInfo info,
                                      Object ann)
Create an annotation from the underlying implementation and its info type

Parameters:
info - the annotation info
ann - the underlying annotation
Returns:
the annotation value


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.