[jboss-jira] [JBoss JIRA] Closed: (JBBUILD-331) Add support for java.lang.reflect.Type

Jason T. Greene (JIRA) jira-events at jboss.com
Mon Jan 22 23:34:52 EST 2007


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

Jason T. Greene closed JBBUILD-331.
-----------------------------------

    Resolution: Deferred

There is an incomplete implementation in trunk, although since Class can not be cast to Type in jdk 1.4 the behavior must be worked around.

> Add support for java.lang.reflect.Type
> --------------------------------------
>
>                 Key: JBBUILD-331
>                 URL: http://jira.jboss.com/jira/browse/JBBUILD-331
>             Project: JBoss Build System
>          Issue Type: Feature Request
>          Components: JBossRetro
>            Reporter: Thomas Diesler
>            Priority: Critical
>             Fix For:  JBossRetro-1.0.5.GA
>
>
> Please add support for this:
>    public static Type getGenericValueType(Type holder)
>    {
>       return (holder instanceof ParameterizedType) ? ((ParameterizedType)holder).getActualTypeArguments()[0] : Object.class;
>    }

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