这是反编译出来的内容。其中有几个变量是没有定义的,actionform、s、 list1、父类也找不到,这几个变量那里来的?
最好它还super()了一下,HibernateDaoSupport中根本就没有list这个方法。有哪位能帮我解释一下吗???
跪谢~~~~public class CoreDaoImpl extends HibernateDaoSupport implements ICoreDao {
public CoreDaoImpl() { /* 21*/log = Logger.getLogger(getClass());
} public List list(final ActionForm form, final String hql,
final List dateList) {/* 24*/
log.debug("\u51C6\u5907\u751F\u6210list");
/* 25*/return getHibernateTemplate().executeFind(
new HibernateCallback() {
public Object doInHibernate(Session se)
throws HibernateException, SQLException {/* 28*/
log
.debug("\u8FDB\u5165\u56DE\u8C03\u51FD\u6570\uFF0C\u51C6\u5907\u6839\u636E\u9875\u9762\u8BBE\u7F6Esession");
/* 29*/return ListTool.list(form, se, hql, dateList);
} final CoreDaoImpl this$0;
private final ActionForm val$form;
private final String val$hql;
private final List val$dateList; {
/* <-MISALIGNED-> *//* 1*/this$0 = CoreDaoImpl.this;
/* <-MISALIGNED-> *//* 1*/form = actionform;
/* <-MISALIGNED-> *//* 1*/hql = s;
/* <-MISALIGNED-> *//* 1*/dateList = list1;
/* <-MISALIGNED-> *//* 25*/super();
}
});
}
最好它还super()了一下,HibernateDaoSupport中根本就没有list这个方法。有哪位能帮我解释一下吗???
跪谢~~~~public class CoreDaoImpl extends HibernateDaoSupport implements ICoreDao {
public CoreDaoImpl() { /* 21*/log = Logger.getLogger(getClass());
} public List list(final ActionForm form, final String hql,
final List dateList) {/* 24*/
log.debug("\u51C6\u5907\u751F\u6210list");
/* 25*/return getHibernateTemplate().executeFind(
new HibernateCallback() {
public Object doInHibernate(Session se)
throws HibernateException, SQLException {/* 28*/
log
.debug("\u8FDB\u5165\u56DE\u8C03\u51FD\u6570\uFF0C\u51C6\u5907\u6839\u636E\u9875\u9762\u8BBE\u7F6Esession");
/* 29*/return ListTool.list(form, se, hql, dateList);
} final CoreDaoImpl this$0;
private final ActionForm val$form;
private final String val$hql;
private final List val$dateList; {
/* <-MISALIGNED-> *//* 1*/this$0 = CoreDaoImpl.this;
/* <-MISALIGNED-> *//* 1*/form = actionform;
/* <-MISALIGNED-> *//* 1*/hql = s;
/* <-MISALIGNED-> *//* 1*/dateList = list1;
/* <-MISALIGNED-> *//* 25*/super();
}
});
}
Constructor call must be the first statement in a constructor