eclipse 编辑时generate getters and setters 快捷键怎么用
选中变量,shift+alt+s键,选择generate setter and getter
source里面,左上角