intellij idea getter setter shortcut code example Example: generate getters and setters intellij alt + insert // Select appropriately from dropdown menu