@Test public void isSimpleValueType() { boolean a = BeanUtil.isSimpleValueType(Integer.class); Assert.isTrue(a, ErrorCodeDef.SYSTEM_ERROR_10001); System.out.println("int 是简单类型"); boolean b = BeanUtil.isSimpleValueType(String.class); Assert.isTrue(b, ErrorCodeDef.SYSTEM_ERROR_10001); System.out.println("String 是简单类型"); boolean d = BeanUtil.isSimpleValueType(Date.class); Assert.isTrue(d, ErrorCodeDef.SYSTEM_ERROR_10001); System.out.println("Date 是简单类型"); boolean c = BeanUtil.isSimpleValueType(Object.class); Assert.isFalse(c, ErrorCodeDef.SYSTEM_ERROR_10001); System.out.println("Object 不是简单类型"); int[] aaa = new int[0]; boolean e = BeanUtil.isSimpleValueType(aaa.getClass()); Assert.isFalse(e, ErrorCodeDef.SYSTEM_ERROR_10001); System.out.println("int 数组不是简单类型"); }
public static boolean isSimpleValueType(final Class<?> clazz) { return BeanUtils.isSimpleValueType(clazz); }
BeanUtil { public static boolean isSimpleValueType(final Class<?> clazz) { return BeanUtils.isSimpleValueType(clazz); } }
BeanUtil { public static boolean isSimpleValueType(final Class<?> clazz) { return BeanUtils.isSimpleValueType(clazz); }  }
BeanUtil { public static boolean isSimpleValueType(final Class<?> clazz) { return BeanUtils.isSimpleValueType(clazz); }  static boolean isAbstract(final Method method); static String[] getMethodParamNames(final Class<?> clazz, final String method, final Class<?>... paramTypes); static String[] getMethodParamNames(final Method method); static String getMethodSignature(final Method method); static Set<Class<?>> getClasses(final String pk); static String toUnderlineName(final String s); static String toCamelCase(final String str); static String camelStr2underLine(final String camelStr); static String toCapitalizeCamelCase(final String str); static boolean isSimpleValueType(final Class<?> clazz); static boolean isSimpleProperty(final Class<?> clazz); }
BeanUtil { public static boolean isSimpleValueType(final Class<?> clazz) { return BeanUtils.isSimpleValueType(clazz); }  static boolean isAbstract(final Method method); static String[] getMethodParamNames(final Class<?> clazz, final String method, final Class<?>... paramTypes); static String[] getMethodParamNames(final Method method); static String getMethodSignature(final Method method); static Set<Class<?>> getClasses(final String pk); static String toUnderlineName(final String s); static String toCamelCase(final String str); static String camelStr2underLine(final String camelStr); static String toCapitalizeCamelCase(final String str); static boolean isSimpleValueType(final Class<?> clazz); static boolean isSimpleProperty(final Class<?> clazz);  }