spring-framework / org.springframework.beans / BeanUtils / isSimpleProperty

isSimpleProperty

open static fun isSimpleProperty(clazz: Class<*>): Boolean

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.

Used to determine properties to check for a "simple" dependency-check.

Parameters

clazz - the type to check

Return
whether the given type represents a "simple" property

See Also
org.springframework.beans.factory.support.RootBeanDefinition#DEPENDENCY_CHECK_SIMPLEorg.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory#checkDependencies