JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins
Interface AnnotationHelper

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

public interface AnnotationHelper

AnnotationHelper.

Version:
$Revision: 95447 $
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

JBoss Reflection 2.2.1.SP1

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