[jboss-jira] [JBoss JIRA] Closed: (JBANN-35) Get class name from Annotation

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Mon Sep 14 08:54:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBANN-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesper Pedersen closed JBANN-35.
--------------------------------

    Fix Version/s:     (was: 1.0.0.Beta2)
       Resolution: Rejected


See:

Annotation.getAnnotationClassName()  // Class name of the annotation

and

Annotation.getClassName() // Class name of the class where the annotation is located

> Get class name from Annotation
> ------------------------------
>
>                 Key: JBANN-35
>                 URL: https://jira.jboss.org/jira/browse/JBANN-35
>             Project: Papaki
>          Issue Type: Feature Request
>          Components: Core
>            Reporter: Jeff Zhang
>            Assignee: Jesper Pedersen
>
> we get annotation info from AnnotationRepository by:
> Collection<Annotation> values = annotationRepository.getAnnotation(ConfigProperty.class);
> I need a feature that getting the class name that it contains the annotation, since we need attach the annotation information to different class.
> For example:
> String classname annotationRepository.getAttachedClassName(annotationValue) or something

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list