Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best IDE macro tools to combat the verbosity of Java syntax? [closed]

Does anyone have any recommendations for tools that you can add to Eclipse, Netbeans or other IDEs to produce some of the repetitive code that's common in Java syntax?

like image 807
Carlsberg Avatar asked Mar 30 '10 19:03

Carlsberg


1 Answers

Project Lombok does a pretty good job of generating getters, setters, and other common methods for you. You just have to type the annotations, and include lombok's jar, and it will generate getters/setters, hashCode and toString methods, and so forth.

It will save a lot of typing on boilerplate methods you implement over and over.

like image 67
Stephen Harmon Avatar answered Sep 28 '22 19:09

Stephen Harmon