方法:shift+Alt+s,选择generate setter and getter...。其实按这个方法还可以自动添加构造方法等等
posted on 2014-06-18 15:15 不会熬夜的程序员 阅读(483) 评论(0) 编辑 收藏 举报