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

Jeff Zhang (JIRA) jira-events at lists.jboss.org
Mon Sep 14 08:48:23 EDT 2009


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

Jeff Zhang updated JBANN-35:
----------------------------

    Description: 
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

  was:
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.



> 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
>             Fix For: 1.0.0.Beta2
>
>
> 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