展开全部
在eclipse中,我想查看一个类中哪些方法是重写了父类的方法,该怎样查看,有没有什么快捷键?
用java的action类中,重写参数,每次Eclipse都会自动帮我写成
@Override
public ActionForward execute(ActionMapping arg0, ActionForm arg1, HttpServletRequest arg2, HttpServletResponse arg3) throws Exception {
// TODO Auto-generated method stub
return super.execute(arg0, arg1, arg2, arg3);
}
我现在想要改成
@Override
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
// TODO Auto-generated method stub
return super.execute(mapping, form, request, response);
}
这样,而且以后自动点重写都是生成第二种方式,怎么写啊?
请各位大虾指点,需要稍全一点的步骤啊,小弟接触Eclipse刚不久,很多不懂呢
用java的action类中,重写参数,每次Eclipse都会自动帮我写成
@Override
public ActionForward execute(ActionMapping arg0, ActionForm arg1, HttpServletRequest arg2, HttpServletResponse arg3) throws Exception {
// TODO Auto-generated method stub
return super.execute(arg0, arg1, arg2, arg3);
}
我现在想要改成
@Override
public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
// TODO Auto-generated method stub
return super.execute(mapping, form, request, response);
}
这样,而且以后自动点重写都是生成第二种方式,怎么写啊?
请各位大虾指点,需要稍全一点的步骤啊,小弟接触Eclipse刚不久,很多不懂呢
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询