bw.registerCustomEditor(null, "list.age", pe);
TestBean tb = new TestBean();
bw.setPropertyValue("list", new ArrayList<Object>());
bw.setPropertyValue("list[0]", tb);
assertEquals(tb, bean.getList().get(0));
assertEquals(pe, bw.findCustomEditor(int.class, "list.age"));
assertEquals(pe, bw.findCustomEditor(null, "list.age"));
assertEquals(pe, bw.findCustomEditor(int.class, "list[0].age"));
assertEquals(pe, bw.findCustomEditor(null, "list[0].age"));
}