public final class Classes extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
shortNameOf(String className)
Gives the "short version" of the given class name.
|
static <T> Class<T> |
wrapperOf(Class<T> clazz)
Gives the primitive wrapper class for the given class.
|
public static String shortNameOf(String className)
className - class name to chew onpublic static <T> Class<T> wrapperOf(Class<T> clazz)
T - generic class typeclazz - the class to checkclazz is primitive, otherwise clazzCopyright © 2017. All Rights Reserved.