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

getPropertyDescriptors

open static fun getPropertyDescriptors(clazz: Class<*>): Array<PropertyDescriptor>

Retrieve the JavaBeans PropertyDescriptors of a given class.

Parameters

clazz - the Class to retrieve the PropertyDescriptors for

Exceptions

BeansException - if PropertyDescriptor look fails

Return
an array of PropertyDescriptors for the given class