In java world , we often need to write some code that not really not about the business, for example :
- getter and setter
- toString
- equals
In some class with lots of DAO, this is pretty annoying in case of dozens of properties. You can choose the code, then right click -> generate -> getter and setter/ clone /equals / hashCode/toString , -> Boom ref(http://stackoverflow.com/questions/7221691/is-there-a-way-to-automatically-generate-getters-and-setters-in-eclipse)