private static Class < ? > getTypeOfProperty ( final PropertyDescriptor [ ] propertyDescriptors , final String property ) { for ( final PropertyDescriptor propertyDescriptor : propertyDescriptors ) { if ( propertyDescriptor . getName ( ) . equalsIgnoreCase ( property ) ) { return propertyDescriptor . getPropertyType ( ) ; } } return null ; }
Gets the type of property .