Bug 126839 [DataBinding] IObservable refactoring
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/beans/JavaBeanTree.java
for (int i = 0; i < childrenProperties.length; i++) {
				PropertyHelper property = new PropertyHelper(
						childrenProperties[i], clazz);
				if (property.getGetter() != null ||  property.getSetter() != null) {
					newpProperties.add(property);
				}
			}
			properties = (PropertyHelper[]) newpProperties
					.toArray(new PropertyHelper[newpProperties.size()]);
			descriptors.put(clazz, properties);
		}
		List methods = new ArrayList();
		for (int i = 0; i < properties.length; i++) {
			if (methodType==READ) {
				methods.add(properties[i].getGetter());
			} else {
				methods.add(properties[i].getSetter());
			}			
		}		
		return (Method[])methods.toArray(new Method[methods.size()]);
	}
		
	private Method[] getReadMethods(Object element) {		
		Class clazz = getRelevantClass(element);
		if (clazz==null) {
			return null;
		}
		
		Method[] methods = getInvocationMethods(clazz, READ);		
		return methods;