Lombok is a nice annotation processor for generating boilerplate code, such as getters and setters. It's pretty straightforward to use, especially if you're using Maven as you only need a few extra declarations in the pom. After some experimenting, I've started using it with my NetBeans Platform projects and it worked fine, with only a small tip to be taken care.
As per the Lombok documentation, usually you only need to put this in your pom:
It works, but the Maven NBM plugin will embed the lombok jar into the generated .nbm. To avoid that, you just need to add the scope element as below: