Tested with checkstyle and findbugs.