Developers typically use field injection only on small projects and prototypes, due to its inability to support immutable variables and the incompatibilities it creates with many testing frameworks.
Project Lombok is a small library that can be used to reduce the amount of boilerplate Java code that is commonly written for Java classes. Project Lombok does this via annotations that can be added ...