eclipse getter setterr code example Example: eclipse create getter and setter Press: "Alt + Shift + S" Then choose: "Generate Getter and Setter"