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