Mac's Code Generation And Action Plugin

Compatible with IntelliJ IDEA
Apr 15, 2015
412
This plugin was written to try to add a few bells and whistles to IntelliJ that are conducive to laziness and good coding style.
More information can be found here: https://github.com/champgm/IntelliJCodeGenerationPlugin/blob/master/README.md

Download plugin

Recent change notes

Added a make-method-parameters-final action.

General usage instructions

Mac's Code Generation And Action Plugin

name subject to change







So far this plugin contains these actions:

------------------------------------------

*
Generate Preconditions - looks at the parameters of the method in which the caret is placed, and generates preconditions for any non-primitve parameters. It will also use StringUtils to check to see if String parameters are null or empty.

*
Make Parameters Final - Iterates through all methods in a class and all paramters in those methods and marks them as "final" if they are not already final.

*
Make Fields Final - Iterates through all fields in a class and marks them as "final" if they are not modified.

*
Make Variables Final - Iterates through all variables in a class and marks them as "final" if they are not modified.