if (com.jfinal.plugin.activerecord.IBean.class.isAssignableFrom(typeClass)) { //实现了IBean接口,优先按BeanGetter来处理。 return new BeanGetter(typeClass, parameterName); } else if (com.jfinal.plugin.activerecord.Model.class.isAssignableFrom(typeClass)) { return new ModelGetter(typeClass, parameterName); } else { return new BeanGetter(typeClass, parameterName); }