code: protected static List<PropertyDescriptor> getWriteableProperties(Class cls)
          {
          BeanWrapper beanWrapper = new BeanWrapperImpl(cls);
          List<PropertyDescriptor> writeableProperties =
                  new ArrayList<PropertyDescriptor>();
          PropertyDescriptor[] props = beanWrapper.getPropertyDescriptors();
          for (PropertyDescriptor prop : props)
              {
              if (isWriteable(prop))
                  {
                  writeableProperties.add(prop);
                  }
              }
          return writeableProperties;
          }
docs: Returns a list of all writeable properties of a class.
  
  @param cls  class to obtain a list of writeable properties for
  
  @return a list of writeable properties of the specified class