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); }
	public BeanInfo getBeanInfo() {		int defaultProperty = -1;		int defaultEvent = -1;		PropertyDescriptor[] Aproperties = new PropertyDescriptor[properties.size()];		int i = 0;		Enumeration enum = properties.elements();		while(enum.hasMoreElements()) {			Aproperties[i] = (PropertyDescriptor)enum.nextElement();			if(defaultPropertyName != null && Aproperties[i].getName().equals(defaultPropertyName)) {				defaultProperty = i;			}			i++;		}