plugins.adufour.vars.util
Class TypeUtil

java.lang.Object
  extended by plugins.adufour.vars.util.TypeUtil

public class TypeUtil
extends java.lang.Object


Constructor Summary
TypeUtil()
           
 
Method Summary
static java.lang.Class<?> toBoxedType(java.lang.Class<?> primitiveType)
           
static java.lang.String toFriendlyString(java.lang.Class<?> type)
          This method is intended to help non-programming users in differentiating and understanding the various Java types by giving them more explicit names
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeUtil

public TypeUtil()
Method Detail

toBoxedType

public static java.lang.Class<?> toBoxedType(java.lang.Class<?> primitiveType)
Parameters:
primitiveType -
Returns:
the Boxed type corresponding to the specified primitive type (or the original type if not a primitive)

toFriendlyString

public static java.lang.String toFriendlyString(java.lang.Class<?> type)
This method is intended to help non-programming users in differentiating and understanding the various Java types by giving them more explicit names

Parameters:
type -
Returns:
a human-friendly name designating the specified type.