Package org.jboss.weld.util
Class Primitives
java.lang.Object
org.jboss.weld.util.Primitives
- Author:
- Martin Kouba
-
Method Summary
-
Method Details
-
wrap
- Parameters:
type-- Returns:
- the wrapper type of the given type if it is a primitive, or the type itself otherwise
-
unwrap
- Parameters:
type-- Returns:
- the primitive type of the given type if it is a wrapper, or the type itself otherwise
-