@Test public void default_value() { assertEquals(getDefaultValue("long"), "0L"); assertEquals(getDefaultValue("java.util.Map"), "null"); }
public static String getDefaultValue(String type) { PrimitiveTypeInfo info = nameToInfo.get(type); return info == null ? "null" : info.defaultValue; }
TransformUtils { public static String getDefaultValue(String type) { PrimitiveTypeInfo info = nameToInfo.get(type); return info == null ? "null" : info.defaultValue; } }
TransformUtils { public static String getDefaultValue(String type) { PrimitiveTypeInfo info = nameToInfo.get(type); return info == null ? "null" : info.defaultValue; } private  TransformUtils(); }
TransformUtils { public static String getDefaultValue(String type) { PrimitiveTypeInfo info = nameToInfo.get(type); return info == null ? "null" : info.defaultValue; } 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); }
TransformUtils { public static String getDefaultValue(String type) { PrimitiveTypeInfo info = nameToInfo.get(type); return info == null ? "null" : info.defaultValue; } 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);  }