private void writeObject(ObjectOutputStream out) throws IOException {
   out.defaultWriteObject();
   out.writeObject(beanInfo.getBeanClass());
 }
 public PropertyDescriptor getBeanDescriptor() {
   if (propertyDescriptor == null) {
     propertyDescriptor = beanInfo.getPropertyDescriptor(getName());
   }
   return propertyDescriptor;
 }