sonarLint--强大的代码审查工具(插件) idea也有的一个插件 贴上一个eclipse的sonarlint用法 http://blog.csdn.net/limm33/article/details/51166840 不过听说从2015年10月开始已经停止了Eclipse插件