适用于PMD,Findbugs和Checkstyle的Java版本

我需要在 Eclipse中使用PMD,Findbugs和Checkstyle作为开发项目. Java 6是否足以使用这些工具?或者我需要java 7?

解决方法

一切都应该有用

1.5>=Java<1.8

FindBugs的

FindBugs requires JRE (or JDK) 1.5.0 or later to run. However,it can
analyze programs compiled for any version of Java,from 1.0 to 1.7.
Some classfiles compiled for Java 1.8 give FindBugs problems,the next
major release of FindBugs will handle Java 1.8 classfiles.

http://findbugs.sourceforge.net/

Checkstyle的

Added Java 7 support to the grammar. Thanks to Dinesh Bolkensteyn for
patch #3403265
07001

PMD

•2011-11-04 PMD 4.3 (download): ◦Add support for Java 7 grammer –
thanks to Dinesh Bolkensteyn and SonarSource

http://pmd.sourceforge.net/pmd-4.3/

相关文章

HashMap是Java中最常用的集合类框架,也是Java语言中非常典型...
在EffectiveJava中的第 36条中建议 用 EnumSet 替代位字段,...
介绍 注解是JDK1.5版本开始引入的一个特性,用于对代码进行说...
介绍 LinkedList同时实现了List接口和Deque接口,也就是说它...
介绍 TreeSet和TreeMap在Java里有着相同的实现,前者仅仅是对...
HashMap为什么线程不安全 put的不安全 由于多线程对HashMap进...