[seam-issues] [JBoss JIRA] Moved: (SOLDER-15) Provide a utility to transparently wrap primitive types

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Nov 29 05:17:13 EST 2010


     [ https://jira.jboss.org/browse/SOLDER-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir moved WELDX-190 to SOLDER-15:
---------------------------------------

              Project: Seam Solder  (was: Weld Extensions)
                  Key: SOLDER-15  (was: WELDX-190)
    Affects Version/s:     (was: 1.0.0.Beta1)
        Fix Version/s: 1.0.0.Beta2
                           (was: 1.0.0.Beta2)


> Provide a utility to transparently wrap primitive types 
> --------------------------------------------------------
>
>                 Key: SOLDER-15
>                 URL: https://jira.jboss.org/browse/SOLDER-15
>             Project: Seam Solder
>          Issue Type: Feature Request
>            Reporter: Dan Allen
>            Priority: Minor
>             Fix For: 1.0.0.Beta2
>
>
> When dealing at the level of a Type, it would be helpful to have a method that would automatically convert the Type to a primitive wrapper if the original Type represents a primitive. This functionality is provided by the Primitives class in Guava.
> Type type = Primitives.wrap(ip.getType());
> At this point, we know that "type" does not represent a primitive.
> http://guava-libraries.googlecode.com/svn/trunk/javadoc/com/google/common/primitives/Primitives.html

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list