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