private PropertyDescriptor[] propertyDescriptors(Class c) throws SQLException {
  BeanInfo beanInfo;
  try {
    beanInfo=Introspector.getBeanInfo(c);
  }
 catch (  IntrospectionException e) {
    throw new SQLException("Bean introspection failed: " + e.getMessage());
  }
  return beanInfo.getPropertyDescriptors();
}

private PropertyDescriptor [ ] propertyDescriptors ( Class c ) throws SQLException { BeanInfo beanInfo ; try { beanInfo = Introspector . getBeanInfo ( c ) ; } catch ( IntrospectionException e ) { throw new SQLException ( "Bean introspection failed: " + e . getMessage ( ) ) ; } return beanInfo . getPropertyDescriptors ( ) ; }
returns a propertydescriptor [ ] for the given class .
