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