[jboss-jira] [JBoss JIRA] Created: (JASSIST-84) Add support for hasAnnotation(Class) and getAnnotation(Class)

Jesper Pedersen (JIRA) jira-events at lists.jboss.org
Fri Jun 12 11:48:56 EDT 2009


Add support for hasAnnotation(Class) and getAnnotation(Class)
-------------------------------------------------------------

                 Key: JASSIST-84
                 URL: https://jira.jboss.org/jira/browse/JASSIST-84
             Project: Javassist
          Issue Type: Feature Request
            Reporter: Jesper Pedersen
            Assignee: Shigeru Chiba


It would nice if Javassist had functionality to query 

 boolean hasAnnotation(Class)

and retrieve a single annotation 

 Object getAnnotation(Class)

for CtClass, CtBehavior and CtField.

The attached implements this functionality against CVS HEAD.

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