[jboss-jira] [JBoss JIRA] Commented: (JBREFLECT-63) ClassInfo shouldn't return all annotations

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Wed Oct 21 15:25:06 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBREFLECT-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490795#action_12490795 ] 

Flavia Rainone commented on JBREFLECT-63:
-----------------------------------------

I made the InheritableAnnotationHolder.setupAnnotations() method private. It was public, but I couldn't find a class using that method.

> ClassInfo shouldn't return all annotations
> ------------------------------------------
>
>                 Key: JBREFLECT-63
>                 URL: https://jira.jboss.org/jira/browse/JBREFLECT-63
>             Project: JBoss Reflection
>          Issue Type: Bug
>          Components: ClassInfo
>    Affects Versions: JBossReflection.2.0.2.GA
>            Reporter: Flavia Rainone
>            Assignee: Flavia Rainone
>             Fix For: JBossReflection.2.2.0-Beta1 
>
>
> ClassInfo.getAnnotations, ClassInfo.getAnnotation(String), and ClassInfo.isAnnotationPresent should all work with declared annotations only, instead of all annotations.

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