Using Alt+ Insert for Windows or Command+ N for Mac in the editor, you may easily generate getter and setter methods for any fields of your class. This has the same effect as using the Menu Bar -> Code -> Generate...
and then using shift or control button, select all the variables you need to add getters and setters
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…