Tuesday, December 11, 2012

Getter Generator for NetBeans

I would like to introduce a new open-source plugin designed for NetBeans IDE 7.2 which is used for generating getters and setters of the UJO objects by its Keys. The source  is ready to download on the SourceForge repository code include binaries. To illustrate see a few screenshots:

1. Download a file type "nbm" from SourceForge to a local directory and call the NB-plugin manager to install the plugin:




2. The new plugin we can find in the context menu on the place, where we have actions for generate getters and setters for the ordinary JavaBeans:





3. The dialog lets as select a Keys to getters and setters. The last option below under the list enables to copy a JavaDoc from Keys to the methods.





4. Result: The generated code will look similar to the following:



For this plugin deserve our thanks to the author Martin Mahr.

1 comment:

Ujo said...

The plugin is available on the NetBeans home page now.