/** * Check if the given type represents a "simple" property: * a primitive, a String or other CharSequence, a Number, a Date, * a URI, a URL, a Locale, a Class, or a corresponding array. * <p>Used to determine properties to check for a "simple" dependency-check. * @param clazz the type to check * @return whether the given type represents a "simple" property */ public static boolean isSimpleProperty(Class<?> clazz) { Args.notNull(clazz, "class"); return Classes.isSimpleValueType(clazz) || (clazz.isArray() && Classes.isSimpleValueType(clazz.getComponentType())); }
if(Classes.isSimpleValueType(o.getClass())) { moduleClasses.put(cls, NOT_FOUND); return o;
if(Classes.isSimpleValueType(c)) { str = v.toString(); }else {
if(Classes.isSimpleValueType(valueType)) { return;
try { Object value; if(Classes.isSimpleValueType(v.getType())) { value = Converts.convert(prop, v.getType(), v.getGenericType()); }else{