Enumeration e = properties.elements(); while (e.hasMoreElements()) { Aproperties[i] = (PropertyDescriptor) e.nextElement();
Iterator it = properties.entrySet().iterator(); while (it.hasNext()) { Aproperties[i] = (PropertyDescriptor) (((Map.Entry)it.next()).getValue());
	public BeanInfo getBeanInfo() {		int defaultProperty = -1;		int defaultEvent = -1;		PropertyDescriptor[] Aproperties = new PropertyDescriptor[properties.size()];		int i = 0;		Enumeration e = properties.elements();		while (e.hasMoreElements()) {			Aproperties[i] = (PropertyDescriptor) e.nextElement();			if(defaultPropertyName != null && Aproperties[i].getName().equals(defaultPropertyName)) {				defaultProperty = i;			}			i++;		}		EventSetDescriptor[] Aevents = new EventSetDescriptor[events.size()];		i = 0;		e = events.elements();		while (e.hasMoreElements()) {			Aevents[i] = (EventSetDescriptor) e.nextElement();			if(defaultEventName != null && Aevents[i].getName().equals(defaultEventName)) {				defaultEvent = i;			}			i++;		}		MethodDescriptor[] Amethods = new MethodDescriptor[methods.size()];		methods.copyInto(Amethods);		return new ExplicitBeanInfo(beanDescriptor,additionalBeanInfo,Aproperties,defaultProperty,Aevents,defaultEvent,Amethods,im);	}