SpotBugs is a program that uses static analysis to look for bugs in Java code. It can detect a variety of common coding mistakes, including thread synchronization problems, misuse of API methods.
Newer Version Available
Note: this artifact is located at Jitpack repository (https://jitpack.io/)