@SuppressWarnings({ "nls", "boxing" })
protected void initialize(Class<?> type, Object oldInstance,
Object newInstance, Encoder enc) {
super.initialize(type, oldInstance, newInstance, enc);
List list = (List) oldInstance;
Statement setterStm = new Statement(oldInstance, "setSize",
new Object[] { list.getSize()});
enc.writeStatement(setterStm);
int count = list.getItemCount();
Expression getterExp = null;
for (int i = 0; i < count; i++) {
getterExp = new Expression(list, "getItem", new Object[] { i });
try {
// Calculate the old value of the property