Bug 118516 [DataBinding] Asserts should provide meaningful messages
Currently we use JDK Assert in various places in the code. However, if an assert fails, there often is no indication of why it failed or what the assert failure means without looking at the code indicated by the stack trace. It would be nicer if we would log exceptions or throw RuntimeExceptions with useful error messages instead.
bundles/org.eclipse.core.databinding.observable/src/org/eclipse/core/databinding/observable/list/AbstractObservableList.java
public boolean contains(Object o) {
		getterCalled();
		return super.contains(o);
	}
	public Iterator iterator() {
		getterCalled();
		final Iterator wrappedIterator = super.iterator();
		return new Iterator() {
			public void remove() {
				wrappedIterator.remove();
			}
			public boolean hasNext() {
				return wrappedIterator.hasNext();
			}
			public Object next() {
				return wrappedIterator.next();
			}
		};
	}
	public Object[] toArray() {
		getterCalled();
		return super.toArray();
	}
	public Object[] toArray(Object a[]) {
		getterCalled();
		return super.toArray(a);
	}
	
	public boolean add(Object o) {
		getterCalled();