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