Hi Checkstyle gurus,
During my work on the oVirt Engine project, I came across a couple of issues with GWT mishandling final members (see, e.g., http://code.google.com/p/google-web-toolkit/issues/detail?id=1054).
The solution I came up with is a Checkstyle check to avoid such annoyances in the first place.
After running with it for a couple of weeks and feeling comfortable with the outcome, I decided to contribute it back to the checkstyle project, so other can benefit for it.
This patch contains the following:
1. The new check - AvoidFinalMembersCheck
2. The English version of is error message in messages.properties
3. A test case - AvoidFinalMembersCheckTest
4. Some input sources for the test - FinalMembers.java
Note this is my first time working with Mercurial and my first submission to checkstyle, so comments, suggestions and pointers would be highly appreciated.