选中需要抽取的重复代码——>右键——>Refactor——>Extract method......

posted on 2013-06-19 17:42  筱筱清流水  阅读(294)  评论(0编辑  收藏  举报