Generate All Getter And Setter is an IntelliJ IDEA plugin that generates all getter and setter methods for POJO use postfix completion like .var.
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "Generate All Getter And Setter" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
- Use .allget to generate all getter methods for POJO.
- Use .allset to generate all setter methods without default value for POJO.
- Use .allsetv to generate all setter methods with default value for POJO.
-
Thanks XiaoYao for helping design the plugin icon.