I\'ve written a custom check MethodLimitCheck.java
. I also have a custom configuration file myconfigurationfile.xml
which contains the following:
This is quite difficult, I'm afraid. You need to write a small Eclipse plugin which is used to make the check available to Eclipse as explained here. The packaged plugin JAR can then be placed into the dropins folder. If you did everything right, you will be able to select your new check in the Checkstyle options.
Be prepared to spend a few days on this though, or find someone who already has experience writing Eclipse plugins.