[jboss-jira] [JBoss JIRA] Updated: (JBBUILD-416) Implement Method.getParameterAnnotations() method

Paul Gier (JIRA) jira-events at lists.jboss.org
Fri Sep 14 17:05:22 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBBUILD-416?page=all ]

Paul Gier updated JBBUILD-416:
------------------------------

    Fix Version/s: JBossRetro-1.1.3.GA

> Implement Method.getParameterAnnotations() method
> -------------------------------------------------
>
>                 Key: JBBUILD-416
>                 URL: http://jira.jboss.com/jira/browse/JBBUILD-416
>             Project: JBoss Build System
>          Issue Type: Feature Request
>          Components: JBossRetro
>    Affects Versions: JBossRetro-1.1.2.GA
>            Reporter: Flavia Rainone
>             Fix For: JBossRetro-1.1.3.GA
>
>
> Consider class AnnotatedClass, whose method oneAnnotation() is annotated with OneAnnotation.
> The following test is failing: 
> Method oneAnnotationMeth = AnnotatedClass.class.getMethod("oneAnnotation", params);
> assertEquals(1, oneAnnotationMeth.getParameterAnnotations()[0].length);
> Notice that the first component of oneAnnotationMeth.getParameterAnnotations()[0] should be an Annotation representing the annotation used on oneAnnotation() method, i.e.:
> assertEquals(AnnotationOne.class, oneAnnotationMeth.getParameterAnnotations()[0][0].annotationType());

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

        



More information about the jboss-jira mailing list