if (type.getRawType() == List.class)
{
orderBy = getter.getAnnotation(OrderBy.class);
}
LazyList lazyList = new LazyList(em, typeInList, oneToManyQuery(em, attName, annotation.mappedBy(), id, typeInList, orderBy));
Class retType = getter.getReturnType();
// todo: assuming List for now, handle other collection types
String setterName = em.getSetterNameFromGetter(getter);
Method setter = tClass.getMethod(setterName, retType);
setter.invoke(newInstance, lazyList);