eclipse 自动生成代码

1、自动生成get set

    在代码编辑界面中,右击----source----Generates getters and setters

2、根据属性自动生成构造器

    右击----source----Generates constructers using fields

原文地址:https://www.cnblogs.com/wyqfighting/p/3117177.html