static L listWithNotifyOnAdd(final VF1 onAdd) { ret new NotifyingList(new L) { void change() {} public bool add(A a) { if (!super.add(a)) false; callF(onAdd, a); true; } }; }