[seam-issues] [JBoss JIRA] Resolved: (SOLDER-15) Provide a utility to transparently wrap primitive types
Dan Allen (JIRA)
jira-events at lists.jboss.org
Sat Dec 18 16:44:17 EST 2010
[ https://issues.jboss.org/browse/SOLDER-15?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Allen resolved SOLDER-15.
-----------------------------
Resolution: Done
> Provide a utility to transparently wrap primitive types
> --------------------------------------------------------
>
> Key: SOLDER-15
> URL: https://issues.jboss.org/browse/SOLDER-15
> Project: Seam Solder
> Issue Type: Feature Request
> Components: Reflections
> Reporter: Dan Allen
> Assignee: Dan Allen
> Priority: Minor
> Fix For: 3.0.0.Beta1
>
>
> 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