TransformUtils { public static Class getWrapperType(Class type) { PrimitiveTypeInfo info = classToInfo.get(type); return info == null ? type : info.wrapperType; } private  TransformUtils(); static boolean isPrimitive(String type); static String getWrapperTypeName(String type); static String getUnwrapperMethodName(String type); static Class getWrapperType(Class type); static String getDefaultValue(String type);  }
@Test public void wrapper_type_by_class() { assertEquals(getWrapperType(char.class), Character.class); assertEquals(getWrapperType(Map.class), Map.class); }