return r;
}
public void testReflection() throws Exception {
MyBean bean = new MyBean();
RuntimeTypeInfoSet model = create(MyBean.class);
RuntimeClassInfo clsInfo = (RuntimeClassInfo)model.getTypeInfo(MyBean.class);
for (RuntimePropertyInfo p : clsInfo.getProperties()) {
// System.out.print(p.getName());
// System.out.println(" " + p.isCollection());
if (p.getName().equals("notes")) {
Collection c = (Collection)p.getAccessor().get(bean);