TransformUtils { public static String getUnwrapperMethodName(String type) { PrimitiveTypeInfo info = nameToInfo.get(type); return info == null ? null : info.unwrapperMethodName; } 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 unwrapper_method_name() { assertEquals(getUnwrapperMethodName("boolean"), "booleanValue"); assertEquals(getUnwrapperMethodName("int"), "intValue"); assertNull(getUnwrapperMethodName("java.lang.Integer")); }