I need to perform some validations to some of my classes, for example:
Every class field must be final or have one write per program (singleton);
If the field it's not final, then it must be private;
Every array must be private.
I've already saw that findbugs and checkstyle can do this kind of checks, but I didn't saw them by default, and the only option I've found it's developing plugins for checkstyle (for convention checks) and for findbugs (for bug detection). Is there any better alternative?
I'm using Windows 7 x64 with Eclipse Indigo with FindBugs and CheckStyle plugins.