[arquillian-issues] [JBoss JIRA] Created: (ARQ-240) MethodParameterInjectionPoint doesn't support parameters with generic type parametersc

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 4 13:28:49 EDT 2010


MethodParameterInjectionPoint doesn't support parameters with generic type parametersc
--------------------------------------------------------------------------------------

                 Key: ARQ-240
                 URL: https://jira.jboss.org/browse/ARQ-240
             Project: Arquillian
          Issue Type: Bug
          Components: Weld Containers
    Affects Versions: 1.0.0.Alpha3
            Reporter: Pete Muir


Whenever you return the type of the parameter you should do

if (method.getGenericParameterTypes().length > position) {
   return method.getGenericParameterTypes()[position];
} else {
   return method.getParameterTypes()[position];
}

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

        


More information about the arquillian-issues mailing list